• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

I want to zip a couple of files in a folder and also extract those with C#.

Hi there;

I want to zip a couple of files in a folder and also extract those with C#.

I am not eager to use a 3rd party library.

How can I manage this with  .NET framework itself?

If not, how can I achieve this -->without<-- using DotNetZip (http://dotnetzip.codeplex.com/)?

Regards.

0
jazzIIIlove
Asked:
jazzIIIlove
3 Solutions
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
steavefinnerCommented:
HI,

i have done a lot of my work related to zipping and unzipping folders and files on server using

http://www.icsharpcode.net/opensource/sharpziplib/

this is opensource c# library you can use it as it is without fear..

Thanks
Kapil Joshi
0
 
jazzIIIloveAuthor Commented:
Hi there;

Thanks for the interest.

Is there any issue regarding the file size? I mean my files may be larger than a couple of hunderd megabytes. In such, which one is suitable or not suitable?

Regards.
0
 
b_levittCommented:
My preference is for DotNetZip:
http://dotnetzip.codeplex.com/

There is mention that sharpziplib has a 2.2GB limitation and there is an inherent 4GB limitation in the standard zip format (which would apply to dotnetzip).  DotNetZip however, supports the zip64 format:
http://dotnetzip.codeplex.com/discussions/249374
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now