[
  {
    "Id": "578808",
    "ThreadId": "249260",
    "Html": "\r\n<p>First let me say I think this is a wonderful contribution to the .Net community.&nbsp; Based on all the reviews I've read, I'm sure I'm just doing something wrong.&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>My task is pretty simple.&nbsp; I'm trying to compress up a directory structure and offload it to an amazon s3 repository for backup.&nbsp; Everything appears to work, but when I try to open the compressed file, I get the following disheartening message\r\n (using the standard winzip utility):</p>\r\n<p>&nbsp;</p>\r\n<p>&quot;The Compressed (zipped) Folder is invalid or corrupted.&quot;</p>\r\n<p>&nbsp;</p>\r\n<p>Now, I'm compressing somewhere in the family of 60,000 files into a resulting 11 GB file.&nbsp; The code I'm using is relatively simple, but I just don't get why I can't open it.&nbsp;</p>\r\n<p>&nbsp;Using zip As New ZipFile()<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' the Readme.txt file will not be password-protected.<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.UseZip64WhenSaving = Zip64Option.AsNecessary<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddEntry(&quot;Readme.txt&quot;, ReadmeText)<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddSelectedFiles(&quot;(name != '*\\.svn\\*.*') and (name != *.zip) and (name != LogFailures.*)&quot;, FolderToZip, &quot;&quot;, True)<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.Save(ZipFileName)<br>\r\nEnd Using</p>\r\n<p>&nbsp;</p>\r\n<p>I found a few articles that led me to believe that winzip wont open zip64 files, so I downloaded Cam Unzip (don't really know much about its reliability).&nbsp; When I try to use it to open the compressed file, I get the following three responses:</p>\r\n<p>&quot;Warning - Error in zip structure&quot;</p>\r\n<p>&quot;Error:&nbsp; Warning - Error in zip structure!&quot;</p>\r\n<p>&quot;A central header signature is wrong&quot;</p>\r\n<p>&nbsp;</p>\r\n<p>Any ideas why this might be happening?&nbsp; I've got everything else working smoothly with regards to taking full and incremental backups as well as shipping the file off to s3.&nbsp; This is the last part and I've been stuck for 2 weeks (off and on) on\r\n it.</p>\r\n",
    "PostedDate": "2011-03-10T17:12:12.007-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "578809",
    "ThreadId": "249260",
    "Html": "<p>I'd also like to add that when I grab a smaller subset of my directory structure, everything proceeds smoothly and my compressed file is intact.&nbsp; Could it be the shear size of the directory structure or the fact that the site is \"live\" while I'm performing the compression?</p>",
    "PostedDate": "2011-03-10T17:14:01.26-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "578984",
    "ThreadId": "249260",
    "Html": "<p>Zip64 is supported by WinZip starting with Winzip v9.&nbsp; If you have an older WinZip, then it will fail to open the archive and will complain about corruption in the archive.&nbsp;Windows Explorer will likewise complain about being unable to extract entries from a zip64 archive. &nbsp;I have no idea about Cam Unzip, or whether it supports zip64.&nbsp; I do know that there exist some tools that open zip64 files.&nbsp; If you'd like to verify the file programmatically, of course you can use DotNetZip, and I believe you can also use the latest Perl IO::Uncompress::Unzip to do so.&nbsp;&nbsp;</p>\n<p>The DotNetZip Winforms tool will be able to open a valid zip64 archive.&nbsp; The tool is downloadable in the utils package, available separately from the DotNetZip library, on the DotNetZip downloads page here on codeplex.</p>\n<p>As I wrote in the documentation, The use of the ZIP64&nbsp;extensions is optional and explicit in DotNetZip because, despite the status of ZIP64 as a bona fide standard, many other zip tools and libraries do not support ZIP64, and therefore a zip file with ZIP64 extensions may be unreadable by some of those other tools.</p>\n<p>&nbsp;</p>",
    "PostedDate": "2011-03-11T05:09:57.337-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "579145",
    "ThreadId": "249260",
    "Html": "<p>Awesome!&nbsp; That was it.&nbsp; So everything has been working perfectly the whole time.&nbsp; I was just getting a false negative from winzip. &nbsp; Again, this is a great utility and your support of it is excellent.&nbsp; Thanks for your time and commitment in make our lives so much easier.&nbsp;</p>",
    "PostedDate": "2011-03-11T10:06:19.397-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]