drap and drop files from client to server in asp.net

G

Guest

Can anyone please tell me if this is at all possible in asp.net...
client has a folder , with 30+ folders inside it, and 30+ files in each
folder...
what is the quickest way to upload everything...
i know i could zip the folder and upload that, but i have no way to
automatically unzip the folder on the server side...
please help!
 
M

Mark Fitzpatrick

Actually, you could unzip on the server. You could have a zip file uploaded
and, when the file is uploaded you can open it with a zip library, such as
#ziplibrary at:
http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx, and do what
you want with the files contained inside. That's probably the easiest way
to do it for the server end of things.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
J

Jeffrey Palermo [MCP]

Adam,
Html only has a single file upload control, so that limits one file at a
time, so the answer is that there is no built-in way to upload multiple
files just by selecting a folder.

Second, there is a way to unzip a .zip file using managed code. See the url
for a sample:
http://www.thecodeproject.com/csharp/VmEasyZipUnZip.asp

Best regards,
Jeffrey Palermo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top