DotNetZip Library
CodePlex Home
Register
|
Sign In
|
CodePlex Home
Home
Downloads
Documentation
Discussions
Issue Tracker
Source Code
People
License
Close
RSS
All Project Updates
Discussions
Issue Tracker
Releases
Reviews
Source Code
Wiki & Documentation
RSS
Show Page Comments
|
Print View
|
Page Info
|
Change History (all pages)
Home
Examples
DotNetZip Examples
C# Examples
VB Examples
Using LINQ With DotNetZip (C#)
Using LINQ With DotNetZip (VB)
ASP.NET Example, in C#
ASP.NET Example, in VB
Powershell Examples
Embedding the DotNetZip DLL into your application
Embedding zipped content into your application
Last edited
Nov 16 2009 at 5:22 PM
by
Cheeso
, version 65
Comments
mhepburn
Aug 12 2008 at 7:38 PM
I'm very impressed by this library. After several hours of searching for a way to extract encrypted zipped files, this let me do it in 3 lines of code. Thanks a ton for putting so much obvious effort into this :)
NTTAKR
Jun 16 2009 at 10:22 AM
Impressive.... VERY IMPRESSIVE!!!!
A library that delivers on its promises and does not dictate the user how to use it but instead adapts to all sorts of style a developer could like to use to work with zip-files.
I worked with several other solutions so far, but I am really shocked how far advanced this library is.
Keep up the good work!!!!
chudq
Jun 27 2009 at 5:19 PM
What happens if I add a file to zip file by using AddFile("FileMayExistInZip.test"), ie, the file may exist in zip file? Will it overwrite, do nothing or throw exception?
Cheeso
Aug 4 2009 at 12:42 PM
Chudq - check the doc. It will throw.
sjoshi
Oct 28 2009 at 9:44 PM
When I try to add these sub-folders
C:\Users\sjoshi\AppData\Local\Temp\TestZip\Test-1
C:\Users\sjoshi\AppData\Local\Temp\TestZip\Test-2
C:\Users\sjoshi\AppData\Local\Temp\TestZip\Test-1\Test-1-1
C:\Users\sjoshi\AppData\Local\Temp\TestZip\Test-1\Test-1-2
Then the resultant zip, does not have any PATH for files under
C:\Users\sjoshi\AppData\Local\Temp\TestZip\Test-1
C:\Users\sjoshi\AppData\Local\Temp\TestZip\Test-2
Their files are added at the ROOT without any PATH, so unzipping the zip will put them at the root without creating sub-folders. I was using
using (ZipFile zip = new ZipFile())
{
foreach (var folder in _foldersToBackup)
{
zip.AddDirectory(folder);
}
zip.Save(_backupTo);
}
Any thoughts ?
janvanderwatt
Oct 29 2009 at 9:14 AM
Absolutely fantastic! Worked first time - works all the time. Thanks, you saved me MANY worries (I've been struggling for days!). I'm using this on Mono to create Word DOCX files (since the Microsoft DLL cannot be used, due to Win32 dependencies). And this library generates smaller files too! Heaps and heaps of thanks! When I get paid, my donation will be on its way :-)
Cheeso
Oct 29 2009 at 1:47 PM
Thanks for the comments. If any of you have actual questions, you gotta use the forums. http://dotnetzip.codeplex.com/Thread/List.aspx I rarely scan the comments on the various wiki pages. Your questions will get quick attention though, on the forums.
Cheeso
Oct 29 2009 at 1:55 PM
sjoshi - there's an overload of AddDirectory that will do what you want.
Sign in to add a comment
Downloads
Recommended release:
1.9 DotNetZip
Fri Aug 28 2009 at 8:00 AM
, Stable
15 ratings
8690 downloads, 8 reviews
More info
Recent reviews
(
more
)
5 stars.
Simply works. Thank you!
5 stars.
In only several hours I was able to write a small little application for my person... (
more
)
Microsoft Public License (Ms-PL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. A "contribution" is the original software, or any additions or changes to the software. A "contributor" is any person that distributes its contribution under this license. "Licensed patents" are a contributor's patent claims that read directly on its contribution. 2. Grant of Rights (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. 3. Conditions and Limitations (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
Activity
7
30
All
days
Page Views
11858
Visits
4189
Downloads
2032
Updating...
© 2006-2010 Microsoft
|
About CodePlex
|
Privacy Statement
|
Terms of Use
|
Code of Conduct
|
Advertise With Us
|
Version 2010.1.12.16187