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. How to UpLoad a whole folder to server,not a single file using the FileSelect Dialog

How to UpLoad a whole folder to server,not a single file using the FileSelect Dialog

Scheduled Pinned Locked Moved ASP.NET
sysadmintutorial
5 Posts 3 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.
  • S Offline
    S Offline
    sonyiti
    wrote on last edited by
    #1

    :laugh: Our current project contains a feature through which allows the user to upload a folder to the server and compare the files under the server corresponding directory and the client machine directory through which we can decide which file need to be upload and which needn't. Also ,Download the server to the client side which allows to compare and decide which file need to be download and which directory need to be created. Could any body give me some hint on how to implement this function. I wonder whether this function can be implement without custome-define javascrip which will mass the code and bring errors into our page...

    M G 2 Replies Last reply
    0
    • S sonyiti

      :laugh: Our current project contains a feature through which allows the user to upload a folder to the server and compare the files under the server corresponding directory and the client machine directory through which we can decide which file need to be upload and which needn't. Also ,Download the server to the client side which allows to compare and decide which file need to be download and which directory need to be created. Could any body give me some hint on how to implement this function. I wonder whether this function can be implement without custome-define javascrip which will mass the code and bring errors into our page...

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, In an ASP.NET application, you basically use the file input element to implement the upload functionality. However, this way only allows to upload a file in one go, so to upload a whole folder, you might want to look for a third party component available out there such as an ActiveX control ... And IMO, you cannot do that even with pure custom javascript.

      S 1 Reply Last reply
      0
      • S sonyiti

        :laugh: Our current project contains a feature through which allows the user to upload a folder to the server and compare the files under the server corresponding directory and the client machine directory through which we can decide which file need to be upload and which needn't. Also ,Download the server to the client side which allows to compare and decide which file need to be download and which directory need to be created. Could any body give me some hint on how to implement this function. I wonder whether this function can be implement without custome-define javascrip which will mass the code and bring errors into our page...

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        This can't be done in a regular web page without an ActiveX component or similar. You can't access the files on the client computer unless the user allows it. --- b { font-weight: normal; }

        S 1 Reply Last reply
        0
        • M minhpc_bk

          Hi there, In an ASP.NET application, you basically use the file input element to implement the upload functionality. However, this way only allows to upload a file in one go, so to upload a whole folder, you might want to look for a third party component available out there such as an ActiveX control ... And IMO, you cannot do that even with pure custom javascript.

          S Offline
          S Offline
          sonyiti
          wrote on last edited by
          #4

          Thx for u reply ,hope we can't persuade our dear customer to give up this feature:)

          1 Reply Last reply
          0
          • G Guffa

            This can't be done in a regular web page without an ActiveX component or similar. You can't access the files on the client computer unless the user allows it. --- b { font-weight: normal; }

            S Offline
            S Offline
            sonyiti
            wrote on last edited by
            #5

            Thx for u reply ,hope we can't persuade our dear customer to give up this feature

            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