Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Folder creation in client...

Folder creation in client...

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmin
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    ManickaSudar
    wrote on last edited by
    #1

    Hai, I want to create a directory in the system localharddisk through my Web application(C# Asp.Net) . I used this coding inside the button click event. System.IO.Directory.CreateDirectory("c:\\FolderName"); While running it creates a folder successfully in my system. When i try to run this same application from another system(client), the creation process is happening in server only. I want to create the folder in that particular systems harddisk(ie,client). In What way i can implement it... Give the solution......... Thanks...................... Thanks in Advance

    S 1 Reply Last reply
    0
    • M ManickaSudar

      Hai, I want to create a directory in the system localharddisk through my Web application(C# Asp.Net) . I used this coding inside the button click event. System.IO.Directory.CreateDirectory("c:\\FolderName"); While running it creates a folder successfully in my system. When i try to run this same application from another system(client), the creation process is happening in server only. I want to create the folder in that particular systems harddisk(ie,client). In What way i can implement it... Give the solution......... Thanks...................... Thanks in Advance

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      Write the javascript to create the folder it will create on client side not on server side

      S 1 Reply Last reply
      0
      • S Sandeep Akhare

        Write the javascript to create the folder it will create on client side not on server side

        S Offline
        S Offline
        Suresh Pirsquare
        wrote on last edited by
        #3

        I dont think that you can create a folder on client side using javascript. :) Regards, Suresh Dayma

        Everything Is Possible!

        S 1 Reply Last reply
        0
        • S Suresh Pirsquare

          I dont think that you can create a folder on client side using javascript. :) Regards, Suresh Dayma

          Everything Is Possible!

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          Yes you are but i think we can create folder using Activex object

          _ 1 Reply Last reply
          0
          • S Sandeep Akhare

            Yes you are but i think we can create folder using Activex object

            _ Offline
            _ Offline
            _AK_
            wrote on last edited by
            #5

            yes by using activex objects in javascript you can probably create the folder on client side.

            Best Regards, Apurva Kaushal

            S 1 Reply Last reply
            0
            • _ _AK_

              yes by using activex objects in javascript you can probably create the folder on client side.

              Best Regards, Apurva Kaushal

              S Offline
              S Offline
              Sandeep Akhare
              wrote on last edited by
              #6

              take a view of this code to create folder on client side using javascript function CreateFolder() { var myPath var oas = new ActiveXObject("Scripting.FileSystemObject"); myPath = "C:\\NUnit\\sandeep12345"; oas.CreateFolder(myPath); alert("Helo"); //insert_filename(fn); }

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups