Click here to Skip to main content
16,018,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I'm a new to C# 2005..
I want to upload an entire folder with its contents. The folder should be zipped on the client side and unzipped on the server side...

I need it for my project please help me... :)
Posted
Updated 16-May-10 21:20pm
v2

If you are talking about web application,
You cannot upload a folder in a web application. However, after a folder is zipped, it becomes a zip file and can be uploaded.
If you want, a user selects n files and your application should zip it and upload, that's not possible. The user needs to zip the files and upload.
You can unzip the files on the server side using zip applications or may write un-compress algorithm. 7-z[^] is one such open source compression tool.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900