Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
1.40/5 (2 votes)
See more:
Hi
I want to zip or unzip file/folder in asp.net c#, withoout using third party tool.
can any one help me.
How to do this programatically.

Thanks in advance
Posted
Comments
Nelek 21-May-14 4:57am    
Step 1) Do a little research. Google is a good start point
Step 2) Start coding
Step 3) Compile and use the debug to solve little issues
Step 4) When you get a problem you don't know how to solve but at least you tried it, then come back and ask for something concrete with a snippet of the code giving problems

Sorry if this is not the answer you were looking for. But your question is a bit too wide to be answered at the "Quick" Answers. It is better and you get faster help if you make 10 concrete questions about concrete problems, than a big question about a "how-to guide"

If you can use .NET 4.5, it has a build in solution: http://msdn.microsoft.com/en-us/library/vstudio/system.io.compression.zipfile[^]
Otherwise you can choose from numerous zip libraries for .NET (use Google):
http://icsharpcode.github.io/SharpZipLib/[^]
http://dotnetzip.codeplex.com/[^]
 
Share this answer
 

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