Search code examples
asp.netc#-4.0file-uploaduploader

Asp.net : Upload directory using c#


I have have a solution now to upload multiple files using (drag drop) technique by JavaScript and jQuery, but I need to find a way to upload folder with all of it is content like Google drive . Is this possible?


Solution

  • Unfortunately you can not do this, only with a browser.

    You will have to use a custom client for this.

    But a simple method will be Ask the user to ZIP the folder and upload the zip using the file-upload control. Then on the server end, you can un-zip and read the content.