<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>DotNetZip Library</title><link>http://dotnetzip.codeplex.com/project/feeds/rss</link><description>DotNetZip is a FAST, FREE class library and toolset for manipulating zip files. Use VB, C&amp;#35; or  any .NET language to easily create, extract, or update zip files.</description><item><title>New Post: Top-level folder not appearing as ZipEntry within zip file</title><link>http://dotnetzip.codeplex.com/discussions/447349</link><description>&lt;div style="line-height: normal;"&gt;I'm seeing some odd behavior when I try to read a zip file and enumerate the contents.  I'm using Visual Basic 10 on Windows 7, and Ionic.Zip.Reduced.dll version 1.9.1.8.&lt;br /&gt;
&lt;br /&gt;
Basically DNZ doesn't recognize folders in the top level of the zip file. It recognizes the files within them, and also the subfolders within them and the files within those subfolders.&lt;br /&gt;
&lt;br /&gt;
Say I have file TopLevelZip.zip structured like this:&lt;br /&gt;
&lt;br /&gt;
File1 at the top level&lt;br /&gt;
File2 at the top level&lt;br /&gt;
FolderA  at the top level containing&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;File3
File4&lt;/code&gt;&lt;/pre&gt;

FolderB at the top level containing&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;FolderB2 at the next level containing
  - File5
&lt;/code&gt;&lt;/pre&gt;

Running this VB code:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;  Using zip1 As ZipFile = ZipFile.Read(ZipToUnpack)
    Dim e As ZipEntry
    For Each e In zip1
      Debug.Print(e.Info)
    Next
  End Using
&lt;/code&gt;&lt;/pre&gt;

will return info on all five files, and FolderB2; but not FolderA or FolderB.&lt;br /&gt;
I would like to return as a ZipEntry each of those two missing folders at the top level, as well as what presently appears.&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;/div&gt;</description><author>ronks</author><pubDate>Tue, 18 Jun 2013 00:28:11 GMT</pubDate><guid isPermaLink="false">New Post: Top-level folder not appearing as ZipEntry within zip file 20130618122811A</guid></item><item><title>New Post: "Garbage" files in directory crashing DotNetLib</title><link>http://dotnetzip.codeplex.com/discussions/446999</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I'm trying to use DotNetZip to zip directories for back-up.  I'm using the following script, based heavily one I found in the PowerShell examples.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;[System.Reflection.Assembly]::LoadFrom('c:\Users\Walter\Documents\WindowsPowerShell\Modules\WalterMetcalf\DotNetZip\Ionic.Zip.dll');&lt;br /&gt;&lt;br /&gt;$directoryToZip = 'c:\Users\Walter\Documents\';&lt;br /&gt;$zipfile =  new-object Ionic.Zip.ZipFile;&lt;br /&gt;$e= $zipfile.AddEntry(&amp;quot;Readme.txt&amp;quot;, &amp;quot;This is a zipfile created from within powershell.&amp;quot;);&lt;br /&gt;$e= $zipfile.AddDirectory($directoryToZip, &amp;quot;home&amp;quot;);&lt;br /&gt;$zipfile.Save(&amp;quot;D:\ZipFiles-ps1-out.zip&amp;quot;);&lt;br /&gt;$zipfile.Dispose();&lt;/code&gt;`
The script give a &amp;quot;Access denied&amp;quot; exception error on a file called TV_Music.ini, supposedly in a sub-directory which doesn't contain it--UNTiL you turn on &amp;quot;Display Hidden Files&amp;quot; in Windows Explorer!  During my testing I have had the exception occur on other files, which apparently don't exist.&lt;br /&gt;
I'm guessing these files are re-parse items, but turning off (=FALSE) the &amp;quot;WillTraverseReparsePoints&amp;quot; property only make the problem worse.&lt;br /&gt;
&lt;br /&gt;
Any ideas, suggestions?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Walter&lt;br /&gt;
&lt;br /&gt;
P.S. I'm using update 1.9.1.8 of the library; PS 3.0 on Windows 7 SP1&lt;br /&gt;
&lt;/div&gt;</description><author>waltermetcalf</author><pubDate>Thu, 13 Jun 2013 20:35:22 GMT</pubDate><guid isPermaLink="false">New Post: "Garbage" files in directory crashing DotNetLib 20130613083522P</guid></item><item><title>Created Unassigned: System.ObjectDisposedException: Cannot access a closed file [16254]</title><link>http://dotnetzip.codeplex.com/workitem/16254</link><description>I have this code&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Using zip As ZipFile &amp;#61; New ZipFile&amp;#40;&amp;#41;&lt;br /&gt;                    zip.UseZip64WhenSaving &amp;#61; Zip64Option.AsNecessary&lt;br /&gt;                    If &amp;#40;tamMaxFichero IsNot Nothing&amp;#41; Then&lt;br /&gt;                        zip.MaxOutputSegmentSize &amp;#61; tamMaxFichero&lt;br /&gt;                    End If&lt;br /&gt;&lt;br /&gt;                    zip.UpdateDirectory&amp;#40;rutaDirectorio&amp;#41;&lt;br /&gt;                    If &amp;#40;exclusiones IsNot Nothing&amp;#41; Then&lt;br /&gt;                        Dim entradas As List&amp;#40;Of Ionic.Zip.ZipEntry&amp;#41;&lt;br /&gt;                        For Each exclusion In exclusiones&lt;br /&gt;                            entradas &amp;#61; zip.Entries.Where&amp;#40;Function&amp;#40;f&amp;#41; f.FileName.ToUpper&amp;#40;&amp;#41;.Contains&amp;#40;exclusion.ToUpper&amp;#40;&amp;#41;&amp;#41;&amp;#41;.ToList&amp;#40;&amp;#41;&lt;br /&gt;                            For Each entrada In entradas&lt;br /&gt;                                zip.RemoveEntry&amp;#40;entrada&amp;#41;&lt;br /&gt;                            Next&lt;br /&gt;                        Next&lt;br /&gt;                    End If&lt;br /&gt;&lt;br /&gt;                    zip.CompressionLevel &amp;#61; nivelCompresion&lt;br /&gt;                    zip.Save&amp;#40;ficheroSalida&amp;#41;&lt;br /&gt;                End Using&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Sometimes &amp;#40;not always&amp;#41; I get a System.ObjectDisposedException exception. Anyone can help me or tell me what is happening. Any solution to this&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br /&gt;</description><author>ikllano</author><pubDate>Tue, 11 Jun 2013 07:05:47 GMT</pubDate><guid isPermaLink="false">Created Unassigned: System.ObjectDisposedException: Cannot access a closed file [16254] 20130611070547A</guid></item><item><title>Commented Issue: BZip2InputStream.Read returns -1 instead of 0 [16069]</title><link>http://dotnetzip.codeplex.com/workitem/16069</link><description>According to documentation on Stream class, the Read method should return 0 if the end of the stream has been reached, and there&amp;#39;s no single mention of -1 possibility. But BZip2InputStream returns -1 if EOF is encountered. &lt;br /&gt;&lt;br /&gt;This breaks some code relying on 0 as the EOF. I believe that Stream.CopyTo&amp;#40;...&amp;#41; will break as it checks for 0 as EOF.&lt;br /&gt;Comments: ** Comment from web user: meddingt ** &lt;p&gt;return&amp;#160;(destOffset == offset) ? -1 : (destOffset - offset);&lt;br&gt;&lt;/p&gt;</description><author>meddingt</author><pubDate>Mon, 10 Jun 2013 21:32:28 GMT</pubDate><guid isPermaLink="false">Commented Issue: BZip2InputStream.Read returns -1 instead of 0 [16069] 20130610093228P</guid></item><item><title>Commented Issue: BZip2InputStream.Read returns -1 instead of 0 [16069]</title><link>http://dotnetzip.codeplex.com/workitem/16069</link><description>According to documentation on Stream class, the Read method should return 0 if the end of the stream has been reached, and there&amp;#39;s no single mention of -1 possibility. But BZip2InputStream returns -1 if EOF is encountered. &lt;br /&gt;&lt;br /&gt;This breaks some code relying on 0 as the EOF. I believe that Stream.CopyTo&amp;#40;...&amp;#41; will break as it checks for 0 as EOF.&lt;br /&gt;Comments: ** Comment from web user: meddingt ** &lt;p&gt;This should have a higher impact than low.  This has a large affect on any implementation assuming correct behavior, or supporting different base stream types.&lt;/p&gt;</description><author>meddingt</author><pubDate>Mon, 10 Jun 2013 21:31:24 GMT</pubDate><guid isPermaLink="false">Commented Issue: BZip2InputStream.Read returns -1 instead of 0 [16069] 20130610093124P</guid></item><item><title>Commented Issue: ZipFile.AddFile fails depending of the file size. [14087]</title><link>http://dotnetzip.codeplex.com/workitem/14087</link><description>AddFile truncate the entry, and Extract trow an exception &amp;#34;bad read of entry test&amp;#47;MyFile.txt from compressed archive.&amp;#34;&lt;br /&gt;&amp;#160;&lt;br /&gt;Debugging step by step sometimes work fine.&lt;br /&gt;&amp;#160;&lt;br /&gt;My code&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;Private Sub Button3_Click&amp;#40;ByVal sender As System.Object, ByVal e As System.EventArgs&amp;#41; Handles Button3.Click&lt;br /&gt;        Dim str As New String&amp;#40;&amp;#34; &amp;#34;c, 2490368&amp;#41;&lt;br /&gt;        IO.File.WriteAllText&amp;#40;&amp;#34;C&amp;#58;&amp;#92;test&amp;#92;MyFile.txt&amp;#34;, str&amp;#41;&lt;br /&gt;End Sub&lt;br /&gt;&amp;#160;&lt;br /&gt;Private Sub Button1_Click&amp;#40;ByVal sender As System.Object, ByVal e As System.EventArgs&amp;#41; Handles Button1.Click&lt;br /&gt;        Using zip As New Ionic.Zip.ZipFile&lt;br /&gt;            zip.AddFile&amp;#40;&amp;#34;C&amp;#58;&amp;#92;test&amp;#92;MyFile.txt&amp;#34;&amp;#41;&lt;br /&gt;            zip.Save&amp;#40;&amp;#34;C&amp;#58;&amp;#92;test&amp;#92;MyZip.zip&amp;#34;&amp;#41;&lt;br /&gt;        End Using&lt;br /&gt;End Sub&lt;br /&gt;&amp;#160;&lt;br /&gt;Private Sub Button2_Click&amp;#40;ByVal sender As System.Object, ByVal e As System.EventArgs&amp;#41; Handles Button2.Click&lt;br /&gt;        Using zip As Ionic.Zip.ZipFile &amp;#61; Ionic.Zip.ZipFile.Read&amp;#40;&amp;#34;C&amp;#58;&amp;#92;test&amp;#92;MyZip.zip&amp;#34;&amp;#41;&lt;br /&gt;            For Each arch As Ionic.Zip.ZipEntry In zip&lt;br /&gt;                arch.Extract&amp;#40;&amp;#34;C&amp;#58;&amp;#92;test&amp;#92;opened&amp;#34;&amp;#41;&lt;br /&gt;            Next&lt;br /&gt;        End Using&lt;br /&gt;End Sub&lt;br /&gt;Comments: ** Comment from web user: mlavoie88 ** &lt;p&gt;I also just encountered this issue.  Easy to work around with the ParallelDeflate setting, but difficult to isolate the failure since it occurs only on files of a specific size.  I concur with earlier comments that the impact of this bug should be higher.&lt;/p&gt;</description><author>mlavoie88</author><pubDate>Fri, 07 Jun 2013 16:01:02 GMT</pubDate><guid isPermaLink="false">Commented Issue: ZipFile.AddFile fails depending of the file size. [14087] 20130607040102P</guid></item><item><title>Commented Unassigned: Dont work with .VTF [16244]</title><link>http://dotnetzip.codeplex.com/workitem/16244</link><description>Have out of range expection with .VTF&amp;#40;Valve Texture&amp;#41; files.&lt;br /&gt;Comments: ** Comment from web user: phantom96 ** &lt;p&gt;Sorry, with 1.9.18 binaries works fine.&lt;/p&gt;</description><author>phantom96</author><pubDate>Fri, 07 Jun 2013 11:26:00 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Dont work with .VTF [16244] 20130607112600A</guid></item><item><title>Created Unassigned: Dont work with .VTF [16244]</title><link>http://dotnetzip.codeplex.com/workitem/16244</link><description>Have out of range expection with .VTF&amp;#40;Valve Texture&amp;#41; files.&lt;br /&gt;</description><author>phantom96</author><pubDate>Fri, 07 Jun 2013 11:16:12 GMT</pubDate><guid isPermaLink="false">Created Unassigned: Dont work with .VTF [16244] 20130607111612A</guid></item><item><title>Commented Unassigned: Filename changed for unusual character [16242]</title><link>http://dotnetzip.codeplex.com/workitem/16242</link><description>The filename of an Added file changes to a different one within the zipfile, I found the case below but I&amp;#39;m guessing the issue is for other characters as well. Using Version 1.9.1.8, RuntimeVersion v2.0.50727.&lt;br /&gt;&lt;br /&gt;Code to repeat&amp;#58;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;    ZipFile z &amp;#61; new ZipFile&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    z.AddFile&amp;#40;&amp;#64;&amp;#34;C&amp;#58;&amp;#92;temp&amp;#92;&amp;#8211;.pdf&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    z.Save&amp;#40;&amp;#64;&amp;#34;c&amp;#58;&amp;#92;temp&amp;#92;out.zip&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;This might be a dupe, but I am not sure for which issue.&lt;br /&gt;Comments: ** Comment from web user: Nenotlep ** &lt;p&gt;The character '–' changes to a regular hyphen '-'.&lt;/p&gt;</description><author>Nenotlep</author><pubDate>Thu, 06 Jun 2013 10:05:35 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Filename changed for unusual character [16242] 20130606100535A</guid></item><item><title>Created Unassigned: Filename changed for unusual character [16242]</title><link>http://dotnetzip.codeplex.com/workitem/16242</link><description>The filename of an Added file changes to a different one within the zipfile, I found the case below but I&amp;#39;m guessing the issue is for other characters as well. Using Version 1.9.1.8, RuntimeVersion v2.0.50727.&lt;br /&gt;&lt;br /&gt;Code to repeat&amp;#58;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;    ZipFile z &amp;#61; new ZipFile&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    z.AddFile&amp;#40;&amp;#64;&amp;#34;C&amp;#58;&amp;#92;temp&amp;#92;&amp;#8211;.pdf&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    z.Save&amp;#40;&amp;#64;&amp;#34;c&amp;#58;&amp;#92;temp&amp;#92;out.zip&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;This might be a dupe, but I am not sure for which issue.&lt;br /&gt;</description><author>Nenotlep</author><pubDate>Thu, 06 Jun 2013 10:01:43 GMT</pubDate><guid isPermaLink="false">Created Unassigned: Filename changed for unusual character [16242] 20130606100143A</guid></item><item><title>New Post: "Bad CRC32 in GZIP trailer" error if I don't read the whole stream</title><link>http://dotnetzip.codeplex.com/discussions/441615</link><description>&lt;div style="line-height: normal;"&gt;I found some time to dig into this.&lt;br /&gt;
&lt;br /&gt;
Looking at the .Net version there is some CRC32 checking (see GZipDecoder.ReadFooter and Inflator.Decode if you have Reflector or equivalent). However that code only appear to be called as the stream is read and it gets to the end. However GZipStream doesn't override Close or Dispose so no checks are done when you do that. &lt;br /&gt;
&lt;br /&gt;
The code in DotNetZip that says //read to end of file is not doing that at all. The checksum needs 8 bytes so if there's less than 8 bytes in the buffer it reads enough bytes of the next block so that it has 8 bytes. &lt;br /&gt;
&lt;br /&gt;
My workaround for this is that I've pulled the DotNetZip source into my code and modified Close such that it takes a bool that allows me to disable the CRC check. &lt;br /&gt;
&lt;br /&gt;
This is a tough one to 'fix'. Its clearly much safer to to the checksum but it would mean adding code to read the whole file apart from the last 8 bytes - I was unable to work out how to do this safely in my experiments. On a big file this could be expensive which makes it slower then the .Net version AND a different behavior in this scenario. &lt;br /&gt;
&lt;/div&gt;</description><author>thezman</author><pubDate>Tue, 04 Jun 2013 22:13:09 GMT</pubDate><guid isPermaLink="false">New Post: "Bad CRC32 in GZIP trailer" error if I don't read the whole stream 20130604101309P</guid></item><item><title>New Post: Classic ASP and .xlsx  report</title><link>http://dotnetzip.codeplex.com/discussions/445353</link><description>&lt;div style="line-height: normal;"&gt;Hi All, im new here and I just want to ask if someone has a good example of how to create an excel report using classic asp code and save it as .xlsx format. At this point i can generate .xls files but now I want to create the same report but in .xlsx format.&lt;br /&gt;
&lt;br /&gt;
Is this possible using DotNetZip??&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;/div&gt;</description><author>clef</author><pubDate>Wed, 29 May 2013 17:23:05 GMT</pubDate><guid isPermaLink="false">New Post: Classic ASP and .xlsx  report 20130529052305P</guid></item><item><title>Commented Issue: Problem space in file name to zip [14420]</title><link>http://dotnetzip.codeplex.com/workitem/14420</link><description>Hi,  I have wrote a program that use your library. If I zip a file whit space in file name and open it with 7-zip i receive this error&amp;#58; UNABLE TO OPEN FILE...&lt;br /&gt;There is any option to set for this problem&amp;#63;&lt;br /&gt;I use VB.NET&lt;br /&gt;&amp;#160;&lt;br /&gt;Thanks&lt;br /&gt;Comments: ** Comment from web user: ew8cn ** &lt;p&gt;I have the same problem, what should I do?&lt;/p&gt;</description><author>ew8cn</author><pubDate>Wed, 29 May 2013 04:16:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: Problem space in file name to zip [14420] 20130529041625A</guid></item><item><title>New Post: How many threads will be created by Ionic?</title><link>http://dotnetzip.codeplex.com/discussions/445099</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br /&gt;
I wanted to use Ionic in my project and just wanted to know &lt;strong&gt;will it create any extra threads&lt;/strong&gt;? If it is creating extra threads, how can I see/monitor those threads.I wanted to use this in a Windows Service VS2010 application.&lt;br /&gt;
&lt;br /&gt;
Note: I want to use &amp;quot;Ionic.Utils.Zip.Dll&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>jyotiranjanr</author><pubDate>Mon, 27 May 2013 14:52:54 GMT</pubDate><guid isPermaLink="false">New Post: How many threads will be created by Ionic? 20130527025254P</guid></item><item><title>New Post: "Bad CRC32 in GZIP trailer" error if I don't read the whole stream</title><link>http://dotnetzip.codeplex.com/discussions/441615</link><description>&lt;div style="line-height: normal;"&gt;Thanks.... I wish it was that easy but I'm trying to read not write and there's plenty of disc space.. Hopefully it will help others though.&lt;br /&gt;
&lt;/div&gt;</description><author>thezman</author><pubDate>Sun, 26 May 2013 14:36:42 GMT</pubDate><guid isPermaLink="false">New Post: "Bad CRC32 in GZIP trailer" error if I don't read the whole stream 20130526023642P</guid></item><item><title>New Post: "Bad CRC32 in GZIP trailer" error if I don't read the whole stream</title><link>http://dotnetzip.codeplex.com/discussions/441615</link><description>&lt;div style="line-height: normal;"&gt;I read you post having the same problem.  After about an hour I realized the drive I was writing to was out of space.  I cleared off a bunch of space and now I don't get the error.  Not sure this is your situation but I'm guessing this was one of those errors where the real problem is not evident in the error message.&lt;br /&gt;
&lt;/div&gt;</description><author>mjfulke</author><pubDate>Sun, 26 May 2013 03:14:28 GMT</pubDate><guid isPermaLink="false">New Post: "Bad CRC32 in GZIP trailer" error if I don't read the whole stream 20130526031428A</guid></item><item><title>New Post: Failure to extract a file from an encrypted archive</title><link>http://dotnetzip.codeplex.com/discussions/231352</link><description>&lt;div style="line-height: normal;"&gt;Hi, has there been any progress with this issue?&lt;br /&gt;
&lt;br /&gt;
I am also experiencing this with a particular set of files.  Other sets of files decompress fine.&lt;br /&gt;
There are 3937 files and 3405 of them get unzipped successfully and it fails on the same file each time.  Even if the files are compressed again the same thing happens.&lt;br /&gt;
&lt;/div&gt;</description><author>aaitken</author><pubDate>Fri, 24 May 2013 14:59:47 GMT</pubDate><guid isPermaLink="false">New Post: Failure to extract a file from an encrypted archive 20130524025947P</guid></item><item><title>Commented Issue: Size of extracted file does not match the uncompressed size recorded in the zip file [16173]</title><link>http://dotnetzip.codeplex.com/workitem/16173</link><description>When the attached file, TestZipItBug.dat, is added to a zip file using ZipIt with all default options, the resulting entry in the zip file cannot be extracted with the Ionic.Zip.dll or with standard WinZip. WinZip reports the following&amp;#58;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Extracting to &amp;#34;C&amp;#58;&amp;#92;Temp&amp;#92;&amp;#34;&lt;br /&gt;Use Path&amp;#58; yes   Overlay Files&amp;#58; no&lt;br /&gt;Extracting testzipitdeflatebug.dat&lt;br /&gt;CRC check failed&lt;br /&gt;Error&amp;#58; Unable to extract &amp;#34;C&amp;#58;&amp;#92;Temp&amp;#92;testzipitdeflatebug.dat&amp;#34;.&lt;br /&gt;&lt;br /&gt;The size of the extracted file &amp;#40;2686976&amp;#41; does not match the uncompressed size &amp;#40;3080192&amp;#41; recorded in the Zip file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE&amp;#58; This also happens when using &amp;#34;-C none&amp;#34; option to avoid compression.  However, if &amp;#34;-C bzip&amp;#34; is used, then the resulting zip entry extracts ok.&lt;br /&gt;Comments: ** Comment from web user: johnbuuck ** &lt;p&gt;I assume that Ionic.zip is intended to successfully zip/unzip any file (within size constraints). If so, then it seems this issue should have very high importance since it provides a known case where it fails (without being due to any unusual options or other environmental issues). I ran across another file that failed in the same way but it can't be attached here because the attachment limit here is 4MB and the file is 20MB.&lt;/p&gt;</description><author>johnbuuck</author><pubDate>Thu, 16 May 2013 19:49:40 GMT</pubDate><guid isPermaLink="false">Commented Issue: Size of extracted file does not match the uncompressed size recorded in the zip file [16173] 20130516074940P</guid></item><item><title>Commented Issue: Degrade gracefully when filenames cannot be encoded in selected code page [10843]</title><link>http://dotnetzip.codeplex.com/workitem/10843</link><description>If I zip this file and leave UseUnicodeAsNecessary as FALSE the following happens&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;Windows Explorer&amp;#58; Can not open it.&lt;br /&gt;&amp;#160;&lt;br /&gt;WinRar&amp;#47;WinZip&amp;#58; Can open it, but has weird names, and the Sub Folders do not work at all which is a problem&lt;br /&gt;&amp;#160;&lt;br /&gt;------------------------------------------&lt;br /&gt;&amp;#160;&lt;br /&gt;I also did some testing in Gmail with similarly named files. Gmail allows you to download attachments as a zip and it automatically detects that the characters are valid for a zip file and asks you What country you would like to compress it for. Selecting English will take out all illegal characters and replace them with underscores. This is something that I wish the dot net zip library did for me.&lt;br /&gt;Comments: ** Comment from web user: airboy ** &lt;p&gt;sorry for the double post... but i want to add that there is no need of using &lt;br&gt;zip.UseUnicodeAsNecessary = false;&lt;br&gt;just not use this...&lt;br&gt;hope it helps...&lt;/p&gt;</description><author>airboy</author><pubDate>Sat, 11 May 2013 11:23:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: Degrade gracefully when filenames cannot be encoded in selected code page [10843] 20130511112325A</guid></item><item><title>Commented Issue: Degrade gracefully when filenames cannot be encoded in selected code page [10843]</title><link>http://dotnetzip.codeplex.com/workitem/10843</link><description>If I zip this file and leave UseUnicodeAsNecessary as FALSE the following happens&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;Windows Explorer&amp;#58; Can not open it.&lt;br /&gt;&amp;#160;&lt;br /&gt;WinRar&amp;#47;WinZip&amp;#58; Can open it, but has weird names, and the Sub Folders do not work at all which is a problem&lt;br /&gt;&amp;#160;&lt;br /&gt;------------------------------------------&lt;br /&gt;&amp;#160;&lt;br /&gt;I also did some testing in Gmail with similarly named files. Gmail allows you to download attachments as a zip and it automatically detects that the characters are valid for a zip file and asks you What country you would like to compress it for. Selecting English will take out all illegal characters and replace them with underscores. This is something that I wish the dot net zip library did for me.&lt;br /&gt;Comments: ** Comment from web user: airboy ** &lt;p&gt;use the following parameters before zipping&lt;/p&gt;&lt;p&gt;zip.AlternateEncodingUsage = ZipOption.&lt;br&gt;zip.AlternateEncoding = Encoding.GetEncoding(737);&lt;/p&gt;&lt;p&gt;that helped me with a lot of Greek Characters...&lt;br&gt;;)&lt;/p&gt;</description><author>airboy</author><pubDate>Sat, 11 May 2013 11:22:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: Degrade gracefully when filenames cannot be encoded in selected code page [10843] 20130511112227A</guid></item></channel></rss>