Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# .NET
Dear Sir this is Hem Raj Thakur.
 
I want to create a zip folder for download of multiple files at the same time. So how can I create a zip folder using C#.
 
Thanks in advance!
Posted 30-Aug-12 19:00pm
Edited 30-Aug-12 19:22pm
v3
Comments
Manfred R. Bihy at 31-Aug-12 1:13am
   
Hello Raj, the users of this site help others on their own time. There is no use of adding "This is urgent, answer immediately!" It is even considered rude to do so.
 
Regards,
 
Manfred
pramodhegde88 at 31-Aug-12 1:20am
   
Use GZip library.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

GZipStream[^] will not help you since this class only allows one to zip a single file. You might want to check out the library SharpZipLib[^]. It is free an can be downloaded here[^].
  • Assemblies for .NET 1.1, .NET 2.0 (3.5, 4.0), .NET CF 1.0, .NET CF 2.0: Download [237 KB]
  • Source code and samples Download [708 KB]
  • Help file Download [1208 KB]
 
Regards,
 
— Manfred
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 693
1 George Jonsson 345
2 BillWoodruff 337
3 Sergey Alexandrovich Kryukov 244
4 Garth J Lancaster 240
0 Sergey Alexandrovich Kryukov 10,764
1 Maciej Los 5,474
2 OriginalGriff 5,472
3 CPallini 3,819
4 BillWoodruff 3,594


Advertise | Privacy | Mobile
Web02 | 2.8.141030.1 | Last Updated 31 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100