1.7 DotNetZip

Rating:        Based on 22 ratings
Reviewed:  16 reviews
Downloads: 41961
Released: Feb 11, 2009
Updated: Jul 5, 2009 by Cheeso
Dev status: Stable Help Icon

Recommended Download

Source Code DotNetZip-src-v1.7.2.26.zip
source code, 1829K, uploaded Jun 13, 2009 - 11502 downloads

Other Available Downloads

Application DotNetZipLib-DevKit-v1.7.zip
application, 832K, uploaded Jun 13, 2009 - 8276 downloads
Application DotNetZipLib-Runtime-v1.7.zip
application, 336K, uploaded Jun 13, 2009 - 8802 downloads
Example DotNetZipUtils-v1.7.msi
example, 716K, uploaded Jun 13, 2009 - 3015 downloads
Example DotNetZipUtils-v1.7.zip
example, 352K, uploaded Jun 13, 2009 - 4174 downloads
Documentation DotNetZipLib-v1.7.chm
documentation, 546K, uploaded Mar 4, 2009 - 6192 downloads

Release Notes

This is DotNetZip v1.7.2.26. Updated 12 June 2009.
For the current release, see http://dotnetzip.codeplex.com/Release/ProjectReleases.aspx.

v1.7 is a major release. These are the new features (workitem noted where applicable):
  • 6630: don't rely on System.IO.Compression. Now DotNetZip bundles a managed zlib of its own. CompressionLevel is supported.
  • 6513: Update to the Unicode support. Also, the command-line utilities zipit and unzip now support codepages.
  • 6200: Granular progress events for Save, Extract, Read. Also the WinForms example and the WinForms self-extractor use these progress events.
  • 6437: ZIP64 support
  • Now DotNetZip is available for the .NET Compact Framework.
  • 6834: WinZip AES encryption (not supported on NETCF)
  • 6601: WantCompression callback, for control over whether to compress an entry. Also, many doc updates for this behavior.
  • 6550: now easy to specify Encoding in the ZipFile ctor.
  • 5589: now possible to rename a ZipEntry.
  • 6612: now reads central directory structure for huge speed improvements on large zip files.
  • Reduced library for those who don't want SFX support.
  • Now can Read WinZip-generated SFX archives

Fixed bugs:
  • 7704: cannot remove zip file in .NET CF
  • 7696: cannot use Passwords in ASP.NET.
  • 6591: file-in-use after Extract() fails (eg, "There is not enough space...")
  • 6513: UTF8 was being used even when unnecessary. ProvisionalAlternateEncoding property, and UseUnicodeAsNecessary. Lots of doc updates related to this behavior.
  • 6637: BadCrcException in multi-thread extract.
  • Read-twice heuristic was not working properly.

This release has these downloads:
  1. DotNetzip-src-v1.7.x.x.zip - the source code for the Zip & Zlib Libraries, the setup (msi) project, and a bunch of examples. Download this if you want to modify the source, or extend the example utilities.
  2. DotNetZipLib-DevKit-v1.7.zip - a binary release, that includes of the signed DLLs for Zip and Zlib, for desktop and Compact Framework; the XML Documentation file for intellisense; the compiled help file (CHM); and the License. Download this if you want to build .NET applications or PowerShell scripts that use the Zip library.
  3. DotNetZipLib-Runtime-v1.7.zip - a binary release, that includes of the signed DLLs, and the License. Download this if you want to distribute .NET applications that use the Zip library, or if you want to run a .NET application that depends on this library.
  4. DotNetZipUtils-v1.7.msi - an installer for Windows for the Zip utilities that utilize the library. This is the same stuff as the DotNetZipUtils-v1.7.zip, but in MSI form.
  5. DotNetZipUtils-v1.7.zip - a set of exe tools (command-line and GUI) that rely on the library, that can create and manage zip files. Download this if you want command-line and gui tools to manipulate zip files.
  6. DotNetZipLib-v1.7.chm - the help file. see the FAQ item on the home page for how to enable this file for reading.

v1.7 updates:
R9 allows use of passwords in ASP.NET. backport of the fix for 7696.
R7 corrects a problem with updating ZIP64 files. This is a backport of 7216.
R6 corrects a problem with the opening of locked files while Saving. This is a backport of work item 7145.
R5 was broken. (v1.7.2.9).
R4 corrects a problem with a timestamp of 0 (workitem 7170).
R3 corrects a problem with ExtractProgressEventArgs where negative values could occur. R3 also adds some Zip64-relevant properties to ZipFile and ZipEntry, along with improved doc on ZIP64 operation.

Breaking changes:
  • namespace change: from Ionic.Utils.Zip to Ionic.Zip .
  • the eventing model has been redesigned.
  • with the zip64 support, the CompressedSize and UncompressedSize properties on the ZipEntry class become Int64, instead of Int32.
  • the TrimVolumeFromFullyQualifiedPaths property has been removed.
  • all the ZipFile ctors that take Streams were removed. If you want to save to a stream, call Save(Stream).

Reviews for this release

     
Nice library, but doesnt work with "Checked Environment". Lots of Overflow Exception
by alexcheveau on Jun 25, 2009 at 6:28 PM
     
Solid. Simple. Five minute implementation. Well done!
by jfew on Jun 18, 2009 at 4:12 PM
     
I have a large data file in my zip file. DotNetZip allows me to extract this file to the file system, or extract it to a MemoryStream. But what I want is to get a stream for a given file so I can read the stream myself. That way if I am only interested in the first few bytes I don't have to extract the whole file into a MemoryStream, which takes up a lot of memory.
by bugslayer on Jun 2, 2009 at 3:47 PM
     
This is just perfect. Many thanks to all who contributed on this project.
by aleksas85 on Apr 23, 2009 at 12:24 PM
     
this code is really flexible and very easy to use man.........Thanks a lot
by cuteguy_withu on Apr 21, 2009 at 7:56 AM
     
Good code with flexible options. I used it to create a backup program for my users and it works fantastic.
by bucfanjeff on Apr 20, 2009 at 6:14 PM
     
Very easy to get started with. Good documentation, usage examples and responsive contributor. Thanks!
by czimney on Apr 17, 2009 at 5:39 PM
     
Perfect! I haven't seen a better free/opensource compression lib! Thanks!
by eagleeyestudios on Apr 3, 2009 at 10:26 AM
     
ABSOLUTELY BRILLIANT! I have used quite a few other compression assemblies in the past and this one is by far the best!
by Gideonv on Mar 19, 2009 at 10:13 AM
     
It is fantastically easy to use.
by Jimconstable on Mar 12, 2009 at 1:48 AM
     
This library just saved my day. Keep the good work up.
by flipquadrat on Feb 26, 2009 at 8:13 AM
     
The best zip C# library I've ever seen!
by coolson on Feb 24, 2009 at 7:59 AM
     
This is a great library. Especially for those who're wanting to use file archiving as only a small part of the program, like me. Saved me a lot of time writing my own for such a trivial reason. It's easy to use, lots of freedom of the way you use it too, especially with the ability to use streams to add/extract files. I'd recommend this over any of the other Zip libraries. Thanks a lot.
by reaper4334 on Feb 18, 2009 at 10:39 PM
     
This is quite a slick library. Easy to use and I like the very liberal license conditions!
by ChauhanDigvijay on Feb 12, 2009 at 2:04 PM
     
it doesn't work for encrypted file and didn't extract them with correct password . it 's exception is "password didn't match" but 1.6 extract file with password but didn't work with files that have a encrypted folder. any one can help me
by vahidgtherani on Feb 2, 2009 at 8:03 AM
     
Version 1.7 of DotNetZip, is the first to be fully compliant with the last ZIP specification, Unicode is now working as expected ! I advise everybody to use this version even if this is a preview.
by DomZ on Nov 12, 2008 at 6:25 PM