[
  {
    "Id": "142102",
    "ThreadId": "42763",
    "Html": "In the latest preview release of DotNetZip, I've implemented the ZIP64 extensions.  <br>\r\n<br>\r\nThe original Zip spec from PKWare allowed for a maximum of 65535 entries in a zip file; and for a max size of 4.2g of any one archive.  This worked when 640k was enough memory for anyone, but these limits are too low for many scenarios these days.  <br>\r\n<br>\r\nPKWare made &quot;ZIP64 extensions&quot; to the spec, to raise those limits.   The problem is, not many tools or libraries implement those extensions, as far as I can tell. <br>\r\n<br>\r\nI think I've implemented ZIP64 correctly in DotNetZip, but I don't have a good way of verifying correctness or compatibility/interoperability.  <br>\r\nWindows Explorer does not &quot;do&quot; ZIP64, nor do many third-party tools and libraries out there.  Some of the tools that claim to &quot;do&quot; ZIP64, seem to do it incorrectly.<br>\r\n<br>\r\nSo I need your help!  If  you are interested in ZIP64, please download v1.7.1.7 and try out the ZIP64 support in the library.  <br>\r\nThere is a new property on the ZipFile - UseZip64WhenSaving.   You need to set it in your app to get a ZIP64 archive. The prior behavior - no ZIP64 support - is the default.  <br>\r\nCreate a few archives.  Try opening them in other tools.  Or if you have a &quot;known good&quot; zip64 archive, try reading it with DotNetZip.   Let me know if it works for you.   If it does not work for you, I'd like to know specifically how it does not work.   Also, tell me if you think the interface makes sense. Is it usable?  Simple enough?  Is the documentation clear? <br>\r\n<br>\r\nYou can also take advantage of the ZIP64 format stuff using the command-line tools - zipit and unzip both support ZIP64 now.  And also, the winforms GUI Zip creator tool - it also will create a ZIP64 archive if you wish.  <br>\r\n<br>\r\nVery interested in feedback.<br>\r\n",
    "PostedDate": "2008-12-20T16:51:43.717-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142125",
    "ThreadId": "42763",
    "Html": "Below a collection of all errors or problems that I have see when using DotNetZip 1.7.1.7 :<br>\r\n<br>\r\n- Using the WinForms application, when choosing &quot;Self-extractor (Gui)&quot; I get the error : <br>\r\n  &quot;Exception while zipping : Errors compiling the extraction logic&quot; (with &quot;self-extractor (cmd) there is no problem)<br>\r\n  This is not related to Zip64 support, I get the error with or without Zip64 enabled.<br>\r\n<br>\r\n- Latin1 chars are not correctly showed using last WinRAR and 7Zip version (also it seems that you use Unicode and it's not necessary =&gt; é char is in IBM437) :<br>\r\n  &quot;Encoding utf-8<br>\r\n  Created at 2008-dÃ©c.-21 09:50:36 || WinForms Example for DotNetZip v1.7.1.7&quot;<br>\r\n<br>\r\n- When uncompressing a Zip64 file done with DotNetZip, I get some errors with 7Zip 4.62 :<br>\r\n  &quot;Invalid compression method&quot; for each compressed file.<br>\r\n<br>\r\n- One hour is added to the modified date of all zipped files (comparing to archives done with 7Zip 4.62 and WinRAR 3.80)<br>\r\n<br>\r\n- I have tried to use unzip.exe on the Zip64 archive &quot;test2.zip&quot; (about 5Go) (you can donwload the archive here : <a href=\"http://www.archive.org/details/test_zip64\">http://www.archive.org/details/test_zip64</a>), <br>\r\nI have get the following error :<br>\r\nC:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Examples\\UnZip\\bin\\D<br>\r\nebug&gt;unzip &quot;C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Examples<br>\r\n\\UnZip\\bin\\Debug\\test2.zip&quot;<br>\r\nexception: Ionic.Utils.Zip.ZipException: C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Examples\\UnZip\\bin\\Debug\\test2.zip <strong>is not a valid zip file</strong><br>\r\n---&gt; Ionic.Utils.Zip.BadReadException:   ZipEntry::ReadHeader(): <strong>Inconsistent zip64 datasize at position 0x0000000028AC0049<br>\r\n</strong>   à Ionic.Utils.Zip.ZipEntry.ProcessExtraField(ZipEntry ze, Int16 extraFieldLength) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipEntry.cs:ligne 932<br>\r\n   à Ionic.Utils.Zip.ZipEntry.ReadHeader(ZipEntry ze, Encoding defaultEncoding) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipEntry.cs:ligne 796<br>\r\n   à Ionic.Utils.Zip.ZipEntry.Read(ZipFile zf, Boolean first) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipEntry.cs:ligne 976<br>\r\n   à Ionic.Utils.Zip.ZipFile.ReadIntoInstance_Orig(ZipFile zf) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipFile.cs:ligne 4514<br>\r\n   à Ionic.Utils.Zip.ZipFile.ReadIntoInstance(ZipFile zf) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipFile.cs:ligne 4457<br>\r\n   à Ionic.Utils.Zip.ZipFile.Read(String zipFileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipFile.cs:ligne 3989<br>\r\n   --- Fin de la trace de la pile d'exception interne ---<br>\r\n   à Ionic.Utils.Zip.ZipFile.Read(String zipFileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipFile.cs:ligne 3994<br>\r\n   à Ionic.Utils.Zip.ZipFile.Read(String zipFileName, TextWriter statusMessageWriter, Encoding encoding) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipFile.cs:ligne 3942<br>\r\n   à Ionic.Utils.Zip.ZipFile.Read(String zipFileName) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Library\\ZipFile.cs:ligne 3646<br>\r\n   à Ionic.Utils.Zip.Examples.UnZip.Main(String[] args) dans C:\\Users\\Dominique\\Desktop\\DotNetZip-src-v1.7.1.7\\DotNetZip\\Examples\\UnZip\\UnZip.cs:ligne 160<br>\r\n<br>\r\nThanks \r\n",
    "PostedDate": "2008-12-21T01:27:35.813-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142144",
    "ThreadId": "42763",
    "Html": "Dom, <br>\r\nthanks for the testing.<br>\r\n<br>\r\nAs I told you before, I cannot get to that zip file.   When I try to download it, I get a 404.<br>\r\n<br>\r\nAs for the problems you reported, The first one I've fixed.<br>\r\nI'll have to check out the other problems.<br>\r\n",
    "PostedDate": "2008-12-21T06:15:56.243-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142151",
    "ThreadId": "42763",
    "Html": "Is there a way I can tell the 7zip archiver to create a zip64 archive? <br>\r\nI cannot figure out how to do that.<br>\r\n",
    "PostedDate": "2008-12-21T07:06:04.563-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142155",
    "ThreadId": "42763",
    "Html": "Sorry, forgot that.<br>\r\n<br>\r\nI have put this file in my FTP :<br>\r\nftp://82.231.215.77:21<br>\r\n<br>\r\nlogin : cheeso<br>\r\nno password.<br>\r\n",
    "PostedDate": "2008-12-21T07:26:34.41-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142156",
    "ThreadId": "42763",
    "Html": "I haven't find how to expressely ask to make Zip64 archive with 7Zip too.<br>\r\n<br>\r\nI think this automatically handled.\r\n",
    "PostedDate": "2008-12-21T07:28:45.347-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142161",
    "ThreadId": "42763",
    "Html": "Hey Dom, I'm having a problem here. <br>\r\n<br>\r\nWhen I look at the 7zip archiver, and load one of the DotNetZip zipfiles into it, with the ZIP64 extensions in use, the file sizes for these files are all the same: 4294967295.  This is 0xFFFFFFFF, which, not coincidentally, is the marker value to be used when ZIP64 is in use.  It is not a real value.   A zip tool that supports ZIP64 is supposed to behave differently when it finds that value for a size.  The actual size is a 64-bit value stored elsewhere in the zip file.  But 7zip just displays the marker value. <br>\r\n<br>\r\nThe makers of 7zip claim to support ZIP64, but I don't see how to create one with the tool, and it does not seem to be properly handling the one that I created.<br>\r\nIt may be handled automatically, as you suggest, but the problem is with ZIP64, there is a question of compatibility.  Therefore the tool ought to notify the user - &quot;Hey this is going to be a ZIP64 archive, you will not be able to open it in Windows Explorer and other tools.&quot;   Because there is no warning, I suspect that maybe the ZIP64 support in 7zip is not as well thought out as we would hope.<br>\r\n<br>\r\nHere's the challenge - I don't know of an authoritative source for ZIP64 compatibility.   Is the output from 7zip guaranteed to be correct?   If it is, then I would like to know how to create a ZIP64 with 7zip.  Is WinZIP the authoritative source?   Is there some other source? <br>\r\n<br>\r\nI tried another toolkit (Perl's IO::Compression::Zip) and found errors there as well. The maintainer of that library confirmed the error.  <br>\r\n<br>\r\nI can implement ZIP64, it is just a matter of metadata formats.  <br>\r\nBut I don't know how to test for compatibility. <br>\r\n<br>\r\nFor now I will grab the giant zip file from your FTP (Thanks).  I will let you know! <br>\r\n",
    "PostedDate": "2008-12-21T08:52:01.44-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142163",
    "ThreadId": "42763",
    "Html": "ok, I am transferring that test2.zip; my client predicts it will take 13 hours. <br>\r\nIt would be a lot easier if I could generate a ZIP64 zip myself, here, and be confident that it was compliant.<br>\r\n",
    "PostedDate": "2008-12-21T08:59:22.617-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142206",
    "ThreadId": "42763",
    "Html": "I made some changes and fixes.  I updated the release to v1.7.1.8.  <br>\r\n<br>\r\nNotes:<br>\r\nIt should work now with 7zip.  <br>\r\nI fixed the winforms GUI so that it can correctly compile the GUI SFX.<br>\r\nI fixed the time shift on the lastmod time.<br>\r\n<br>\r\nAbout the Latin characters - I am not sure about this. <br>\r\nI use whatever setting you choose when creating a vanilla ZIP.  If you choose to create a self-extracting archive, then the Winforms tool will always select UTF-8 for the Encoding.  UTF-8 is a good idea, because it can encode anything.  The only reason you would not want to use UTF-8 is compatibility with the extractor tool.  Windows Explorer does not handle UTF-8 very well, for example.  But if you create a SFX, then DotNetZip will always be the library used to unpack the archive, by definition.  Which means, UTF-8 is always a safe choice.  For this reason, I force the use of UTF-8 when SFX is selected.  You will see that in the Winforms UI.   If you select a vanilla ZIP, then the Encoding goes back to whatever it was before.  So, yes, UTF-8 is used &quot;unnecessarily&quot; in this case, but it should be a safe and always correct choice. <br>\r\n<br>\r\nIf you do not select SFX (either GUI or CMD), then the Encoding for the resulting ZIP file will be whatever you set it to.  If you select UTF-8, then it will be UTF-8.  If you select something else, it will be what you select. <br>\r\n<br>\r\nHave another look and see if it makes sense to you. <br>\r\n<br>\r\nFinally, about the test2.zip - I am still downloading.  If you have a moment, could you retest with the latest v1.7 binaries? <br>\r\n<br>\r\n",
    "PostedDate": "2008-12-21T13:12:04.277-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "142271",
    "ThreadId": "42763",
    "Html": "I never could download that zip file.  It kept timing out at the same point.  about 700mb. <br>\r\n<br>\r\nInterested in your feedback.\r\n",
    "PostedDate": "2008-12-21T22:33:14.283-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "144577",
    "ThreadId": "42763",
    "Html": "<span id=UniqueID1231204889560>I tested using Ionic.Zip version 1.7.1.13.<br>\r\n<br>\r\nI need to do more testing with extraction via Ionic.Zip; however, both Windows Explorer and 7Zip choak on the same files inside the archive.<br>\r\n<br>\r\nWhen I went to create a new Archive in 7Zip I noticed that they support Deflate64 -- not Zip64 I wonder if potentially this is the issue.<br>\r\n<br>\r\nI'll post back here additional information about using Ionic.Zip to do the extraction and see if the files that did NOT work with the other two methods do infact work if using Ionic.Zip as the extractor.<br>\r\n<br>\r\n-Fuzz</span>\r\n",
    "PostedDate": "2009-01-05T17:24:25.283-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "144578",
    "ThreadId": "42763",
    "Html": "MMkay, great Fuzz.<br>\r\ngood info to have is: <br>\r\n  - how did you create the archive - which tool, library, or program. <br>\r\n  - characterize the number of files and their size, and the aggregate size of the zip.  (1mb, 100mb, 5gb, etc)<br>\r\n  - any additional info like, UTF in use, ZIP64 in use, etc. <br>\r\n  - what you were doing (unzip, list, create zip, etc)  and what error occurred<br>\r\n<br>\r\nI don't know if 7zip supports ZIP64.   I know that Windows Explorer does not.  If you try to open a ZIP64 file in Explorer, generally it will open and you will be able to browse the list of files, but not always.  And, even if you can &quot;See&quot; the files, you will not be able to extract some of them. <br>\r\n <br>\r\n-Cheez\r\n",
    "PostedDate": "2009-01-05T17:41:40.967-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "144604",
    "ThreadId": "42763",
    "Html": "I'm looking at about ~6GB file.<br><br>Created by Ionic.Zip. Ion  <br><br>List files works in explorer and 7Zip but extraction of certian files do not work. 7Zip reports the compression algorythm is not compatible, explorer gives a useless message.<br><br>I'll post back when i've had a chance to test the extraction from using the zip library.<br><br>Thanks,<br>~Nate<br>Not sent from an iPhone<br><br>-----Original Message-----<br>From: &quot;Cheeso&quot; &lt;[email removed]&gt;<br>To: [email removed]<br>Sent: 1/5/09 7:41 PM<br>Subject: Re: Please test the ZIP64 features - v1.7.1.7 [DotNetZip:42763]<br><br>From: Cheeso<br><br>MMkay, great Fuzz.<br>good info to have is: <br>  - how did you create the archive - which tool, library, or program. <br>  - characterize the number of files and their size, and the aggregate size of the zip.  (1mb, 100mb, 5gb, etc)<br>  - any additional info like, UTF in use, ZIP64 in use, etc. <br>  - what you were doing (unzip, list, create zip, etc)  and what error occurred<br><br>I don't know if 7zip supports ZIP64.   I know that Windows Explorer does not.  If you try to open a ZIP64 file in Explorer, generally it will open and you will be able to browse the list of files, but not always.  And, even if you can &quot;See&quot; the files, you will not be able to extract some of them. <br> <br>-Cheez <br><br>",
    "PostedDate": "2009-01-05T20:16:00.483-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "144621",
    "ThreadId": "42763",
    "Html": "\r\n<div>Great! </div>\r\n<div> </div>\r\n<div>When you created the file with Ionic.Zip, did you \r\nenable the ZIP64 extensions?   I would think so, but want to \r\ncheck.</div>\r\n<div> </div>\r\n<div> </div>\r\n<div style=\"font:10pt Tahoma\">\r\n<div><br></div>\r\n<div style=\"background:#f5f5f5\">\r\n<div style=\"font-color:black\"><b>From:</b> [email removed] </div>\r\n<div><b>Sent:</b> Monday, January 05, 2009 8:16 PM</div>\r\n<div><b>To:</b> [email removed] </div>\r\n<div><b>Subject:</b> Re: Please test the ZIP64 features - v1.7.1.7 \r\n[DotNetZip:42763]</div></div></div>\r\n<div><br></div>\r\n\r\n\r\n<p>From: fuzzzerd</p>\r\n<div id=ThreadNotificationPostBody>I'm looking at about ~6GB \r\nfile.<br><br>Created by Ionic.Zip. Ion <br><br>List files works in explorer and \r\n7Zip but extraction of certian files do not work. 7Zip reports the compression \r\nalgorythm is not compatible, explorer gives a useless message.<br><br>I'll post \r\nback when i've had a chance to test the extraction from using the zip \r\nlibrary.<br><br>Thanks,<br>~Nate<br>Not sent from an iPhone<br><br>-----Original \r\nMessage-----<br>From: &quot;Cheeso&quot; &lt;[email removed]&gt;<br>To: [email \r\nremoved]<br>Sent: 1/5/09 7:41 PM<br>Subject: Re: Please test the ZIP64 features \r\n- v1.7.1.7 [DotNetZip:42763]<br><br>From: Cheeso<br><br>MMkay, great \r\nFuzz.<br>good info to have is: <br>  - how did you create the archive - \r\nwhich tool, library, or program. <br>  - characterize the number of files \r\nand their size, and the aggregate size of the zip.  (1mb, 100mb, 5gb, \r\netc)<br>  - any additional info like, UTF in use, ZIP64 in use, etc. \r\n<br>  - what you were doing (unzip, list, create zip, etc)  and what \r\nerror occurred<br><br>I don't know if 7zip supports ZIP64.   I know \r\nthat Windows Explorer does not.  If you try to open a ZIP64 file in \r\nExplorer, generally it will open and you will be able to browse the list of \r\nfiles, but not always.  And, even if you can &quot;See&quot; the files, you will not \r\nbe able to extract some of them. <br> <br>-Cheez <br><br></div>\r\n",
    "PostedDate": "2009-01-05T21:38:49.083-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]