<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>DotNetZip Work Item Rss Feed</title><link>http://www.codeplex.com/DotNetZip/WorkItem/List.aspx</link><description>DotNetZip Work Item Rss Description</description><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><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: bob0043 ** &lt;p&gt;I concur with rhpainte's as to the location of the problem but differ slightly as to the analysis and fix.&lt;/p&gt;&lt;p&gt;The number of buffers used is partially dependent on the number of processors. Each set of buffers is handled by a separate thread. The variables _latestCompressed, _lastFilled, and _lastFilled keep track of, respectively, the last buffer that has been compressed, the last buffer that has been filled with input awaiting compression, and the last buffer written to the output.&lt;/p&gt;&lt;p&gt;The code is such that _latestCompressed &amp;lt;= _lastFilled is always true. The devil is in that &amp;quot;&amp;lt;&amp;quot; part of the expression. The EmitPendingBuffers functions, as written, is exiting when _lastWritten == _latestCompressed but that may not be the *last* buffer that needs to be written -- the last to be written should be _lastFilled. There is a race condition here: depending on input file size, buffer count, thread count, processor workload, and the phase of the moon, the _latestCompressed may or may not be equal to _lastFilled when EmitPendingBuffers checks it.&lt;/p&gt;&lt;p&gt;So the fix should be:&lt;br&gt;change&lt;br&gt;} while (doAll &amp;amp;&amp;amp; (_lastWritten != _latestCompressed));&lt;br&gt;to&lt;br&gt;} while (doAll &amp;amp;&amp;amp; (_lastWritten != _lastFilled));&lt;/p&gt;&lt;p&gt;This is in function EmitPendingBuffers. In the copy of the source I have that is line 971 of ParallelDeflateOutputStream.cs. Rhpainte notes it as line 987 of the same file.&lt;/p&gt;&lt;p&gt;Using &amp;quot;} while (doAll &amp;amp;&amp;amp; (_lastWritten != _latestCompressed || _lastWritten != _lastFilled));&amp;quot;, as rhpainte suggested, has a an &amp;quot;extra&amp;quot; check: if (_lastWritten == _lastFilled) is true then (_lastWritten == _latestCompressed) is also true (only compressed buffers are written) and there is no need to check it.&lt;/p&gt;</description><author>bob0043</author><pubDate>Fri, 03 May 2013 18:27:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: ZipFile.AddFile fails depending of the file size. [14087] 20130503062757P</guid></item><item><title>Commented Issue: CRC Error when compressing and decompressing mp3 VBR file [14623]</title><link>http://dotnetzip.codeplex.com/workitem/14623</link><description>I am having issues with just one file that has been compressed with DotNetZip 1.9. Using supplied example project &amp;#34;CreateZip&amp;#34; it fails to decompress a mp3 VBR file. It doesn&amp;#39;t matter which utility is used for decompressing, be it Windows Zip, WinZip, WinRar, 7z, and of course DotNetZip.&lt;br /&gt;&amp;#160;&lt;br /&gt;It seems to work under any of these conditions though&amp;#58;&lt;br /&gt;1. Disable the parallel processing explicitly&amp;#58; zip.ParallelDeflateThreshold &amp;#61; -1&lt;br /&gt;2. Set the compression level to None&amp;#58; zip.CompressionLevel &amp;#61; Ionic.Zlib.CompressionLevel.None&lt;br /&gt;&amp;#160;&lt;br /&gt;Note&amp;#58; when I try to compress the same file using another of the above tools it works ok.&lt;br /&gt;&amp;#160;&lt;br /&gt;For copyright matters I cannot upload the file but if the reviewer requires it, please send me a message and will reply accordingly.&lt;br /&gt;&amp;#160;&lt;br /&gt;Thank you.&lt;br /&gt;Comments: ** Comment from web user: bob0043 ** &lt;p&gt;Re: buffer size. The documentation (xml comments) *says* the buffer size is 128k but the *code* actually sets the buffer size to 64k.  The problem appears to be a &amp;quot;race&amp;quot; condition that will mostly likely exhibit the problem if the input is an exact multiple of the buffers size but *may* occur even if it is not a multiple.&lt;/p&gt;&lt;p&gt;When I encountered the problem in code I wrote it took a bit to realize the problem was actually in the zip library. My program (a Windows service) zipped a file, copied the zip file to a server, unzipped the archive and compared it to the original. Some small fraction of the time it would work fine; this led me to think there was a race condition -- it just took a while to track down the culprit.&lt;/p&gt;&lt;p&gt;I then wrote a &amp;quot;driver&amp;quot; that did only the zip and unzip. This program almost *never* failed when applied to a 16MB file. I put the zip/unzip inside a loop; if the loop max was greater than 1 it *almost* always failed but would occasionally get through 2 iterations before failing.&lt;/p&gt;&lt;p&gt;The fix proposed by rhpainte at http://dotnetzip.codeplex.com/workitem/14087 will fix the problem.&lt;/p&gt;</description><author>bob0043</author><pubDate>Fri, 03 May 2013 17:46:11 GMT</pubDate><guid isPermaLink="false">Commented Issue: CRC Error when compressing and decompressing mp3 VBR file [14623] 20130503054611P</guid></item><item><title>Created Issue: Incomplete list of entries in zip [16188]</title><link>http://dotnetzip.codeplex.com/workitem/16188</link><description>When reading in the attached zip with the following simple code, the entries list only contains one entry when it should contain 3. Unzipping and zipping the zip again removes this problem, so there&amp;#39;s likely some form of corruption going on. Unfortunately, there is no exception being thrown when reading it. It would be great if this kind of corruption could be detected as handled with an exception.&lt;br /&gt;&lt;br /&gt;using &amp;#40;ZipFile zip &amp;#61; ZipFile.Read&amp;#40;filepath&amp;#41;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    foreach &amp;#40;ZipEntry content in zip&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#47; do stuff&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>janba</author><pubDate>Fri, 03 May 2013 09:12:48 GMT</pubDate><guid isPermaLink="false">Created Issue: Incomplete list of entries in zip [16188] 20130503091248A</guid></item><item><title>Commented Issue: OverflowException when accessing zip file twice [16183]</title><link>http://dotnetzip.codeplex.com/workitem/16183</link><description>Hello everybody,&lt;br /&gt;&lt;br /&gt;I started using DotNetZip in my application but I have problem when I want to use a zip file twice within my application. For example, first I read my zip file and display the content in my application.&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;using &amp;#40;ZipFile zip &amp;#61; ZipFile.Read&amp;#40;zipPath&amp;#41;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;                       ...&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Then later, I want to extract the same zip file, therefore I use the same code above and read the zip file into &amp;#39;zip&amp;#39;. But then I receive an OverflowException&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Zip File Error&amp;#58; Cannot read that as a ZipFileSystem.OverflowException&amp;#58; overflow while creating filename&lt;br /&gt;   at Ionic.Zip.ZipEntry.CopyHelper.AppendCopyToFileName&amp;#40;String f&amp;#41;&lt;br /&gt;   at Ionic.Zip.ZipEntry.ReadDirEntry&amp;#40;ZipFile zf, Dictionary&amp;#96;2 previouslySeen&amp;#41;&lt;br /&gt;   at Ionic.Zip.ZipFile.ReadCentralDirectory&amp;#40;ZipFile zf&amp;#41;&lt;br /&gt;   at Ionic.Zip.ZipFile.ReadIntoInstance&amp;#40;ZipFile zf&amp;#41; &amp;#59; File&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;When I close the application and start again, I can do the first step again but not the second. This happens to me every time I start reading to a zip file the second time.&lt;br /&gt;&lt;br /&gt;Any idea why I get this exception&amp;#63; Thanks in advance.&lt;br /&gt;Comments: ** Comment from web user: janba ** &lt;p&gt;I'm experiencing exactly the same problem. In my case though I'm trying to read 3 zips (a test sample really) and only one of them fails. As such I looked into it a bit closer and here are some results:&lt;/p&gt;&lt;p&gt;- The file name is irrelevant. I renamed it even to x.zip and it still doesn't work.&lt;br&gt;- Renaming the file between the first and second scan (I'm iterating through a folder) does not change anything, there's still an exception on the 2nd pass&lt;/p&gt;&lt;p&gt;So, if it's not the file name of the zip, it sounds like it must be the file names within the zip. And yep, that's it. Here's what's causing it:&lt;/p&gt;&lt;p&gt;Duplicate file names inside the zip. For some bizarre reason the zip file causing this exception had two files with the same name (both in the root of the zip) inside. Now, I'd understand there being an exception for this, but if there is it should happen on both passes, not just the second and consecutive. Please make this behavior consistent and either throw an exception always or never. I vote for never as reading the zip works fine despite the duplicates, it's just extracting it that would cause problems.&lt;/p&gt;</description><author>janba</author><pubDate>Fri, 03 May 2013 09:07:15 GMT</pubDate><guid isPermaLink="false">Commented Issue: OverflowException when accessing zip file twice [16183] 20130503090715A</guid></item><item><title>Commented Issue: name clash possible with temporary file during extraction [14097]</title><link>http://dotnetzip.codeplex.com/workitem/14097</link><description>Ok let me try to explain it better.&lt;br /&gt;&amp;#160;&lt;br /&gt;Suppose I have a zip file which contains&amp;#58; helloworld.txt test.txt&lt;br /&gt;&amp;#160;&lt;br /&gt;Now suppose I try to extract this zipfile into a directory, c&amp;#58;&amp;#92;Test .  What happens is, for each file in the zipfile the library creates a filename.ext.tmp while he unpacks the specific file of the ze.Extract. That means, when it extracts helloworld.txt on ze.Extract&amp;#40;...&amp;#41;&amp;#59; in the folder c&amp;#58;&amp;#92;test&amp;#92; there will be a file called helloworld.txt.tmp till extract finishes.&lt;br /&gt;&amp;#160;&lt;br /&gt;A problem occurs when C&amp;#58;&amp;#92;test already has a file called helloworld.txt.tmp .  If that happens, the library just fails with a message stating that the file already exists &amp;#40;the helloworld.txt.tmp, not  the helloworld.txt&amp;#41;.&lt;br /&gt;Comments: ** Comment from web user: aquariusquintini ** &lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Same issue here.&lt;/p&gt;&lt;p&gt;I added the following hack/workaround to our code until this issue is fixed in the Ionic library&lt;/p&gt;&lt;p&gt;The hack version:&lt;br&gt;```&lt;br&gt;using (var zipFile = ZipFile.Read(filePath))&lt;br&gt;{&lt;br&gt;  foreach (var entry in zipFile.Entries)&lt;br&gt;  {&lt;br&gt;    var extractPath = Path.Combine(unzipPath, entry.FileName);&lt;br&gt;    var extractTmpPath = string.Concat(extractPath, &amp;quot;.tmp&amp;quot;);&lt;/p&gt;&lt;p&gt;    // Check if the temp file already exists&lt;br&gt;    if (File.Exists(extractTmpPath))&lt;br&gt;    {&lt;br&gt;      // Remove the temp file&lt;br&gt;      _Log.Info(&amp;quot;Deleting existing temp file ({0}) to prevent problems with extraction.&amp;quot;, extractTmpPath);&lt;br&gt;      File.Delete(extractTmpPath);&lt;br&gt;    }&lt;/p&gt;&lt;p&gt;    // Extract the actual file from the zip.&lt;br&gt;    entry.Extract(unzipPath, ExtractExistingFileAction.OverwriteSilently);&lt;br&gt;  }&lt;br&gt;}&lt;br&gt;```&lt;/p&gt;&lt;p&gt;The original code:&lt;br&gt;```&lt;br&gt;using (var zipFile = ZipFile.Read(filePath))&lt;br&gt;{&lt;br&gt;  zipFile.ExtractAll(unzipPath, ExtractExistingFileAction.OverwriteSilently);&lt;br&gt;}&lt;br&gt;```&lt;/p&gt;</description><author>aquariusquintini</author><pubDate>Thu, 02 May 2013 18:29:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: name clash possible with temporary file during extraction [14097] 20130502062929P</guid></item><item><title>Created Issue: OverflowException when accessing zip file twice [16183]</title><link>http://dotnetzip.codeplex.com/workitem/16183</link><description>Hello everybody,&lt;br /&gt;&lt;br /&gt;I started using DotNetZip in my application but I have problem when I want to use a zip file twice within my application. For example, first I read my zip file and display the content in my application.&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;using &amp;#40;ZipFile zip &amp;#61; ZipFile.Read&amp;#40;zipPath&amp;#41;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;                       ...&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Then later, I want to extract the same zip file, therefore I use the same code above and read the zip file into &amp;#39;zip&amp;#39;. But then I receive an OverflowException&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Zip File Error&amp;#58; Cannot read that as a ZipFileSystem.OverflowException&amp;#58; overflow while creating filename&lt;br /&gt;   at Ionic.Zip.ZipEntry.CopyHelper.AppendCopyToFileName&amp;#40;String f&amp;#41;&lt;br /&gt;   at Ionic.Zip.ZipEntry.ReadDirEntry&amp;#40;ZipFile zf, Dictionary&amp;#96;2 previouslySeen&amp;#41;&lt;br /&gt;   at Ionic.Zip.ZipFile.ReadCentralDirectory&amp;#40;ZipFile zf&amp;#41;&lt;br /&gt;   at Ionic.Zip.ZipFile.ReadIntoInstance&amp;#40;ZipFile zf&amp;#41; &amp;#59; File&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;When I close the application and start again, I can do the first step again but not the second. This happens to me every time I start reading to a zip file the second time.&lt;br /&gt;&lt;br /&gt;Any idea why I get this exception&amp;#63; Thanks in advance.&lt;br /&gt;</description><author>lolkuro</author><pubDate>Mon, 29 Apr 2013 07:48:01 GMT</pubDate><guid isPermaLink="false">Created Issue: OverflowException when accessing zip file twice [16183] 20130429074801A</guid></item><item><title>Created 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;</description><author>johnbuuck</author><pubDate>Tue, 23 Apr 2013 13:15:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Size of extracted file does not match the uncompressed size recorded in the zip file [16173] 20130423011512P</guid></item><item><title>Created Issue: CreationTime is incorrect [16154]</title><link>http://dotnetzip.codeplex.com/workitem/16154</link><description>I am having trouble accessing the creation date of files in a zipped file. The file creation time is correct but the creation date is &lt;br /&gt;always equal to the current date. Other fields like ModifiedTime are correct.&lt;br /&gt;&lt;br /&gt;The following code illustrates the problem.&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;using &amp;#40;ZipFile zip &amp;#61; ZipFile.Read&amp;#40;zippedFile&amp;#41;&amp;#41;&lt;br /&gt;    foreach &amp;#40;ZipEntry zipEntry in zip&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        string standardizedZipName &amp;#61; zipEntry.FileName.Replace&amp;#40;&amp;#39;&amp;#92;&amp;#92;&amp;#39;, &amp;#39;&amp;#47;&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;        if &amp;#40;zipEntry.IsDirectory&amp;#41;&lt;br /&gt;        &amp;#123;   &amp;#47;&amp;#47;path name&lt;br /&gt;            Console.Write&amp;#40;&amp;#34;Directory&amp;#58; &amp;#34; &amp;#43; zipEntry.FileName&lt;br /&gt;                    &amp;#43; &amp;#34;  Created &amp;#34; &amp;#43; zipEntry.CreationTime.ToString&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;   &amp;#47;&amp;#47;ends path name&lt;br /&gt;        else&lt;br /&gt;        &amp;#123;   &amp;#47;&amp;#47;file name&lt;br /&gt;            Console.Write&amp;#40;&amp;#34;  &amp;#34; &amp;#43; zipEntry.FileName&lt;br /&gt;                    &amp;#43; &amp;#34;  Created &amp;#34; &amp;#43; zipEntry.CreationTime.ToString&amp;#40;&amp;#41;&lt;br /&gt;                    &amp;#43; &amp;#34;  Modified &amp;#34; &amp;#43; zipEntry.ModifiedTime.ToString&amp;#40;&amp;#41;&lt;br /&gt;                    &amp;#43; &amp;#34;  Last modified &amp;#34; &amp;#43; zipEntry.LastModified.ToString&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;   &amp;#47;&amp;#47;ends file name&lt;br /&gt;    &amp;#125;   &amp;#47;&amp;#47;ends foreach &amp;#40;ZipEntry...&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;The output shows&amp;#58;&lt;br /&gt;Running on 4&amp;#47;13&amp;#47;2013 9&amp;#58;37&amp;#58;15 PM&lt;br /&gt;  jigo-src-2.1.1&amp;#47;build.xml  Created 4&amp;#47;13&amp;#47;2013 2&amp;#58;46&amp;#58;28 PM  Modified 2&amp;#47;7&amp;#47;2003 8&amp;#58;07&amp;#58;50 AM  Last modified 2&amp;#47;7&amp;#47;2003 12&amp;#58;07&amp;#58;50 AM&lt;br /&gt;Directory&amp;#58; jigo-src-2.1.1&amp;#47;conf&amp;#47;  Created 4&amp;#47;13&amp;#47;2013 2&amp;#58;46&amp;#58;28 PM&lt;br /&gt;  jigo-src-2.1.1&amp;#47;conf&amp;#47;jigo.pro  Created 4&amp;#47;13&amp;#47;2013 2&amp;#58;46&amp;#58;28 PM  Modified 1&amp;#47;28&amp;#47;2003 8&amp;#58;37&amp;#58;17 AM  Last modified 1&amp;#47;28&amp;#47;2003 12&amp;#58;37&amp;#58;18 AM&lt;br /&gt;  jigo-src-2.1.1&amp;#47;conf&amp;#47;packages.txt  Created 4&amp;#47;13&amp;#47;2013 2&amp;#58;46&amp;#58;28 PM  Modified 1&amp;#47;28&amp;#47;2003 8&amp;#58;31&amp;#58;43 AM  Last modified 1&amp;#47;28&amp;#47;2003 12&amp;#58;31&amp;#58;44 AM&lt;br /&gt;  jigo-src-2.1.1&amp;#47;conf&amp;#47;README  Created 4&amp;#47;13&amp;#47;2013 2&amp;#58;46&amp;#58;28 PM  Modified 1&amp;#47;28&amp;#47;2003 7&amp;#58;47&amp;#58;38 AM  Last modified 1&amp;#47;27&amp;#47;2003 11&amp;#58;47&amp;#58;38 PM&lt;br /&gt;Directory&amp;#58; jigo-src-2.1.1&amp;#47;docs&amp;#47;  Created 4&amp;#47;13&amp;#47;2013 2&amp;#58;46&amp;#58;28 PM&lt;br /&gt;&lt;br /&gt;I am running Ionic.Zip.dll 1.9.1.8 using C&amp;#35; Microsoft VS 2012 Express on Windows 8 but have the same problem on a Windows 7 system&lt;br /&gt;using VS 2012.&lt;br /&gt;&lt;br /&gt;Any suggestions&amp;#63;&lt;br /&gt;</description><author>MountainMan69</author><pubDate>Sat, 13 Apr 2013 15:03:43 GMT</pubDate><guid isPermaLink="false">Created Issue: CreationTime is incorrect [16154] 20130413030343P</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: divo ** &lt;p&gt;@iosifpetre: There is no way to recover the zip archive once it is corrupted. That is why this issue is so critical. I'd recommend using another zip library like SharpZipLib or the functionality included in the current .NET Framework version.&lt;/p&gt;</description><author>divo</author><pubDate>Thu, 11 Apr 2013 18:05:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: ZipFile.AddFile fails depending of the file size. [14087] 20130411060529P</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: iosifpetre ** &lt;p&gt;mohammadforutan, is nice that &amp;quot;zip.ParallelDeflateThreshold = -1&amp;quot; resolved your issue but how do I extract the files, that is when you create the file, but how to fix to get the file, I need the data from the files archived..&lt;br&gt;please help&lt;/p&gt;</description><author>iosifpetre</author><pubDate>Thu, 11 Apr 2013 16:31:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: ZipFile.AddFile fails depending of the file size. [14087] 20130411043135P</guid></item><item><title>Created Issue: DotNetZip created zip does not open on double click[opens using 7 zip extract] [16141]</title><link>http://dotnetzip.codeplex.com/workitem/16141</link><description>DotNetZip created zip does not open on double click&amp;#91;opens using 7 zip extract&amp;#93;.&lt;br /&gt;&lt;br /&gt;After downloading the zip, if we double click on zip, error pops up,&lt;br /&gt;&lt;br /&gt;Windows cannot open the folder&lt;br /&gt;The compressed&amp;#40;zipped&amp;#41; folder is &amp;#91;folder name&amp;#93; invalid.&lt;br /&gt; &lt;br /&gt;But if we extract downloaded zip using 7 Zip it displays proper files.&lt;br /&gt;&lt;br /&gt;The code used is,&lt;br /&gt;&lt;br /&gt; string archiveName &amp;#61; String.Format&amp;#40;&amp;#34;archive-&amp;#123;0&amp;#125;.zip&amp;#34;, DateTime.Now.ToString&amp;#40;&amp;#34;yyyy-MMM-dd-HHmmss&amp;#34;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt; Response.ContentType &amp;#61; &amp;#34;application&amp;#47;zip&amp;#34;&amp;#59;&lt;br /&gt; Response.AddHeader&amp;#40;&amp;#34;content-disposition&amp;#34;, &amp;#34;filename&amp;#61;&amp;#34; &amp;#43; archiveName&amp;#41;&amp;#59;&lt;br /&gt; using &amp;#40;ZipFile z &amp;#61; new ZipFile&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt; &amp;#123;&lt;br /&gt;         z.AddEntry&amp;#40;&amp;#34;test1.csv&amp;#34;,csvData&amp;#41;&amp;#59;&lt;br /&gt;         z.Save&amp;#40;Response.OutputStream&amp;#41;&amp;#59;&lt;br /&gt; &amp;#125;&lt;br /&gt; Response.Flush&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt; Response.Clear&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Please let me know if anyone has any idea about this.&lt;br /&gt;Thanks&lt;br /&gt;</description><author>vivekbh</author><pubDate>Thu, 04 Apr 2013 12:21:41 GMT</pubDate><guid isPermaLink="false">Created Issue: DotNetZip created zip does not open on double click[opens using 7 zip extract] [16141] 20130404122141P</guid></item><item><title>Created Issue: Rename entry problem [16130]</title><link>http://dotnetzip.codeplex.com/workitem/16130</link><description>In the Reduced v1.9.1.8 DotNetZip release there is an issue with renaming an entry.&lt;br /&gt;&lt;br /&gt;__To reproduce__&lt;br /&gt;1. Use another archiver program to create a ZIP archive that contains an entry with a full Windows path &amp;#40;e.g. &amp;#96;C&amp;#58;&amp;#92;Users&amp;#92;Test&amp;#92;Documents&amp;#92;myfile.txt&amp;#96;&amp;#41;.&lt;br /&gt;2. Let DotNetZip open the archive, rename the file, and save the archive.&lt;br /&gt;3. The archive now contains _two_ files that seem to point to the same entry. One with the old filename, one with the new filename.&lt;br /&gt;4. WinRAR thinks the archive is corrupt, 7zip and Windows Explorer will extract either of the two files.&lt;br /&gt;&lt;br /&gt;__The code &amp;#40;for step 2&amp;#41;__&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;using &amp;#40;ZipFile zip &amp;#61; ZipFile.Read&amp;#40;&amp;#34;test.zip&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    ZipEntry entry &amp;#61; zip.Entries.FirstOrDefault&amp;#40;e &amp;#61;&amp;#62; Path.GetFileName&amp;#40;e.FileName&amp;#41; &amp;#61;&amp;#61; &amp;#34;myfile.txt&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    entry.FileName &amp;#61; Path.Combine&amp;#40;Path.GetDirectoryName&amp;#40;entry.FileName&amp;#41;, &amp;#34;newfile.txt&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    zip.Save&amp;#40;&amp;#64;&amp;#34;test2.zip&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;__The underlying cause__&lt;br /&gt;When renaming an entry the entry with the old filename is removed from &amp;#96;_entries&amp;#96;. However, it uses the normalized filename as the key to remove, but &amp;#96;_entries&amp;#96; &amp;#40;and the entry&amp;#39;s &amp;#96;Filename&amp;#96; property&amp;#41; sometimes contains the unnormalized filename &amp;#40;read directly from the file&amp;#41;. So the old entry doesn&amp;#39;t get removed. It doesn&amp;#39;t check that exactly one key-value pair is removed.&lt;br /&gt;&lt;br /&gt;This issue was first encountered by a user who posted a &amp;#91;question on Stackoverflow&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;q&amp;#47;15601189&amp;#47;146622&amp;#41;.&lt;br /&gt;</description><author>Virtlink</author><pubDate>Thu, 28 Mar 2013 22:35:50 GMT</pubDate><guid isPermaLink="false">Created Issue: Rename entry problem [16130] 20130328103550P</guid></item><item><title>Commented Issue: ZipSL runtime error - TypeInitializationException due to IBM437 Encoding defaults [14049]</title><link>http://dotnetzip.codeplex.com/workitem/14049</link><description>Hi,&lt;br /&gt;&amp;#160;&lt;br /&gt;Awesome library&amp;#33; Got up and running in seconds - you&amp;#39;ve certainly led we customers into the &amp;#34;Pit of Success.&amp;#34; &amp;#58;&amp;#41;&lt;br /&gt;&amp;#160;&lt;br /&gt;This may be already known, but I encountered runtime TypeInitializationException&amp;#40;s&amp;#41; when using types &amp;#40;such as ZipFile and ZipEntry&amp;#41; in ZipSL 1.9.1.8 from with a Silverlight application. After building and running from source, it was clear that the problem&lt;br /&gt; was related to the static type construction at lines such as&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;AlternateEncoding &amp;#61; System.Text.Encoding.GetEncoding&amp;#40;&amp;#34;IBM437&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#160;&lt;br /&gt;&amp;#160;&lt;br /&gt;Appears this encoding is not one of the &lt;br /&gt;four supported encodings in SL4. I was able to avoid the issue by altering the behavior where necessary with preprocessor directives, for example&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt; &lt;br /&gt;&amp;#160;&lt;br /&gt;&amp;#160;&lt;br /&gt;&amp;#35;if SILVERLIGHT&lt;br /&gt;&amp;#9;AlternateEncoding &amp;#61; System.Text.Encoding.GetEncoding&amp;#40;&amp;#34;utf-8&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#35;else&lt;br /&gt;&amp;#9;AlternateEncoding &amp;#61; System.Text.Encoding.GetEncoding&amp;#40;&amp;#34;IBM437&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#35;endif&lt;br /&gt;&amp;#160;&lt;br /&gt;I was able to do this to the point where my use cases were covered&amp;#59; would be happy to submit a patch if I had some guidance on the most appropriate strategy for dealing with this.&lt;br /&gt;&amp;#160;&lt;br /&gt;Yours,&lt;br /&gt;David&lt;br /&gt;Comments: ** Comment from web user: KeithW ** &lt;p&gt;Just adding some support for this patch, would love to get it in the next release. &lt;/p&gt;</description><author>KeithW</author><pubDate>Tue, 19 Mar 2013 11:39:43 GMT</pubDate><guid isPermaLink="false">Commented Issue: ZipSL runtime error - TypeInitializationException due to IBM437 Encoding defaults [14049] 20130319113943A</guid></item><item><title>Created Issue: the final hash has not been computed [16105]</title><link>http://dotnetzip.codeplex.com/workitem/16105</link><description>Recently I have run into a few zip files which were created using DotNetZip which I cannot unzip with DotNetZip but I can unzip with WinZip.  In each case, the unzip stops with an error that reads&amp;#58; &amp;#34;the final hash has not been computed&amp;#34;.  I have tried unzipping the same with the DotNetZip-WinFormsTool.exe that comes with the Development Kit and it too produces the same error.  &lt;br /&gt;&lt;br /&gt;The error happens consistently and at the same point each time.  I looked at the particular file in the .zip that it fails on and can find nothing wrong with it &amp;#40;after extracting it using WinZip&amp;#41;.  Unfortuneatly, the three files that I can reproduce the problem with are each larger than 4MB so I cannot attach them to this post. &lt;br /&gt;&lt;br /&gt;I found posts related to the same problem but no resolution.  Any ideas&amp;#63;&lt;br /&gt;</description><author>apelkster</author><pubDate>Fri, 15 Mar 2013 03:58:57 GMT</pubDate><guid isPermaLink="false">Created Issue: the final hash has not been computed [16105] 20130315035857A</guid></item><item><title>Commented Issue: Feature Request: LZMA (7 Zip) Support [14034]</title><link>http://dotnetzip.codeplex.com/workitem/14034</link><description>Greetings,&lt;br /&gt;&amp;#160;&lt;br /&gt;I would like to request support for LZMA implemented with the same design you use for your Zip implementation from a class point of view. So that someone who uses your Zip library can easy pickup and use your LZMA one.  With the AES128 and AES256 encryption options.&lt;br /&gt;&amp;#160;&lt;br /&gt;There is a C&amp;#35; LZMA reference implementation that is Public Domain on the 7-zip.org site&amp;#39;s SDK&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.7-zip.org&amp;#47;sdk.html&lt;br /&gt;&amp;#160;&lt;br /&gt;Also the SevenZipSharp project here on codeplex has a managed C&amp;#35; implementation based on the reference one.  It is not a compatible license but the owner is very reasonable and if you ask he will most likely give you permission to fork his LZMA managed implementation under Ms-PL, as he has given to me. &lt;br /&gt;&amp;#160;&lt;br /&gt;I use your library to do all the Zip and GZip needs, and I use the other for my LZMA needs but the SevenZipSharp managed implementation needs some work performance wise, and it lacks encryption.  I was planning to do that if I have time, but that would still give me two libraries, so I figured I could at least ask if you could include this into your Library that would help reduce everything for me to a single library under an active and well maintained project which would be great.&lt;br /&gt;&amp;#160;&lt;br /&gt;Kind Regards...&lt;br /&gt;Comments: ** Comment from web user: CreepyGnome ** &lt;p&gt;bump&lt;/p&gt;&lt;p&gt;Any possibility of this being implemented?&lt;/p&gt;</description><author>CreepyGnome</author><pubDate>Thu, 14 Mar 2013 18:53:37 GMT</pubDate><guid isPermaLink="false">Commented Issue: Feature Request: LZMA (7 Zip) Support [14034] 20130314065337P</guid></item><item><title>Created Issue: Name Clash of the Temp Files [16103]</title><link>http://dotnetzip.codeplex.com/workitem/16103</link><description>Our applicaiton is creating hundreds of ZIP files on the fly using several worker threads to do this.  Each worker thread has its own directory to work in, and each new ZIP file is created in this directory.  We have used the ZIP class property TempFileFolder to have ZIP create the temp files in separate directories for each worker thread.&lt;br /&gt;&lt;br /&gt;But what we have found is that the tmp file created by the ZIP class are still suffering name clashes.  It could be that the algoritm for determining temparary file names is not discrete enough to come up with unique names in such a rapid progression as we are genrating ZIPs at a rate of 6 - 10 per second.  Or if the tempary file name is based on the source file it could be that since the source files differ by only a singe character, the temparay file name&amp;#39;s hash value is not unique&amp;#63;&lt;br /&gt;&lt;br /&gt;Either way can you offer a hint or tip that might help us work around this issue&amp;#63;&lt;br /&gt;</description><author>JeffOstrosser</author><pubDate>Thu, 14 Mar 2013 14:37:24 GMT</pubDate><guid isPermaLink="false">Created Issue: Name Clash of the Temp Files [16103] 20130314023724P</guid></item><item><title>Commented Issue: "Path is empty" when extracting in a linux system. [15236]</title><link>http://dotnetzip.codeplex.com/workitem/15236</link><description>When using the following code&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;ZipFile zip &amp;#61; ZipFile.Read&amp;#40;ms&amp;#41;&amp;#59;&lt;br /&gt;zip.ExtractAll&amp;#40;LatestPath&amp;#41;&amp;#59;&lt;br /&gt;&amp;#160;&lt;br /&gt;An &amp;#34;Path is empty&amp;#34; exception message is triggered by that DotNetZip tries to pass &amp;#34;&amp;#34; to Directory.Create&amp;#40;&amp;#41; in ZipEntry.Extract, line 760.&lt;br /&gt;&amp;#160;&lt;br /&gt;The cause is that the variable targetFileName contain the path using &amp;#34;&amp;#92;&amp;#34; as directory separator. When run on linux the path is interpreted as a single filename making the directory path &amp;#34;&amp;#34;.&lt;br /&gt;&amp;#160;&lt;br /&gt;I would guess it could be fixed in the method ValidateOutput&amp;#40;&amp;#41; in the same file line 1417&amp;#58;&lt;br /&gt;- outFileName &amp;#61; outFileName.Replace&amp;#40;&amp;#34;&amp;#47;&amp;#34;,&amp;#34;&amp;#92;&amp;#92;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43; outFileName &amp;#61; outFileName.Replace&amp;#40;&amp;#39;&amp;#47;&amp;#39;, Path.DirectorySeparatorChar&amp;#41;&amp;#59;&lt;br /&gt;&amp;#160;&lt;br /&gt;It works but someone who knows it should have a look at it.&lt;br /&gt;Comments: ** Comment from web user: edgarrc ** &lt;p&gt;Thank you, I hope this fix is already merged on main stream, worked perfectly on linux-mono.&lt;/p&gt;</description><author>edgarrc</author><pubDate>Wed, 13 Mar 2013 17:51:38 GMT</pubDate><guid isPermaLink="false">Commented Issue: "Path is empty" when extracting in a linux system. [15236] 20130313055138P</guid></item></channel></rss>