[
  {
    "Id": "131343",
    "ThreadId": "39585",
    "Html": "Hi,<br>\r\n<br>\r\nI wish to write a app for me, that get´s my database backups (Zip File) and extract them.<br>\r\nThe Files are over 500 MB big.<br>\r\nEvery time I try to extract the file, I get the Error: <br>\r\n&quot;xxx is not a valid zip file&quot;.<br>\r\nWith lower files, e.g. 20 MB I have no problems.<br>\r\n<br>\r\nCan anyone help me?\r\n",
    "PostedDate": "2008-11-10T05:58:25.287-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "131472",
    "ThreadId": "39585",
    "Html": "If you give me a sample of a zip file that causes the problem, I can look at it.<br>\r\nI realize there may be data privacy issues.<br>\r\n<br>\r\nAlso, how did you create the zip file?  Did you use DotNetZip?  Or was it created with some other tool or library?<br>\r\nif so , which one? <br>\r\n<br>\r\nthanks. <br>\r\n <br>\r\n",
    "PostedDate": "2008-11-10T11:44:51.317-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "131480",
    "ThreadId": "39585",
    "Html": "Hi,<br>\r\n<br>\r\nI´m sorry but I can´t give you an exmaple, we must do it without.<br>\r\nIt was created by a automaticly WinRAR Script, but it is a ZIP File.<br>\r\nIts 550 MB big and extracted over 4-5GB\r\n",
    "PostedDate": "2008-11-10T12:23:51.777-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "131498",
    "ThreadId": "39585",
    "Html": "Unfortunately I will have a tough time understanding what is wrong with the zipfile without even a stack trace of the error.<br>\r\nTo track it down, I really need the actual zip file that causes the problem.<br>\r\n",
    "PostedDate": "2008-11-10T13:55:27.483-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "131959",
    "ThreadId": "39585",
    "Html": "For what it's worth, I tried extracting a 954MB text file compressed using WinRar (Best-zip compression) and it extracted just fine. The zip file size was 948KB and only contained that one text file. There might be something wrong with your script and the file is actually using rar compression. When I use a rar-compressed file I get that exact error.<br>\r\n<br>\r\n",
    "PostedDate": "2008-11-12T03:19:26.347-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "132912",
    "ThreadId": "39585",
    "Html": "I think it is a common issue with WinRAR<br>\r\n<br>\r\nHad the same errors with the application AutoUpdate+ that it could not unzip Zip files created with WinRar.<br>\r\nTry creating the same Zip file manually and zip it with the windows native Zip program. It should be able to extract it.<br>\r\n",
    "PostedDate": "2008-11-16T07:31:12.78-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "132917",
    "ThreadId": "39585",
    "Html": "It could be, as JohnAndre suggested, that the file is not actually a zip file, compliant with the spec, but is instead a compressed archive that only WinRAR understands.  <br>\r\n<br>\r\nIf I had the zip file in my hand, I would be able to tell.<br>\r\nWithout it, I cannot fix the problem.\r\n",
    "PostedDate": "2008-11-16T08:00:49.293-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133348",
    "ThreadId": "39585",
    "Html": "Hi,<br>\r\n<br>\r\nI found a little bit more:<br>\r\n<br>\r\nThe file over 500 MB can not make to a ZIP File, either with WinRAR nor with Windows native ZIP.<br>\r\nEvery time I get the message &quot;It´s too large&quot;. <br>\r\nSo I think it can be a RAR-File that is renamed or something mysterius else.\r\n",
    "PostedDate": "2008-11-18T03:03:22.707-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133349",
    "ThreadId": "39585",
    "Html": "Here are the Stack Trace:<br>\r\n<br>\r\n   at Ionic.Utils.Zip.ZipFile.ReadIntoInstance(ZipFile zf)<br>\r\n   at Ionic.Utils.Zip.ZipFile.Read(String zipFileName, TextWriter statusMessageWriter, Encoding encoding)<br>\r\n<br>\r\nAnd here are the Excaption:<br>\r\n<br>\r\nInnerException = {&quot;  ZipEntry::Read(): Bad signature (0x7B99EC00) at position  0x00000050&quot;}\r\n",
    "PostedDate": "2008-11-18T03:03:30.45-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133438",
    "ThreadId": "39585",
    "Html": "Kovu, thanks - <br>\r\nThat file appears to be either <br>\r\n<ul>\r\n    <li>corrupt, or </li>\r\n    <li>not a zip archive.&nbsp; It could be a zip64 archive, which this library does not support.</li>\r\n</ul>\r\n<br>\r\n",
    "PostedDate": "2008-11-18T09:41:58.37-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133463",
    "ThreadId": "39585",
    "Html": "Hi,<br>\r\n<br>\r\nTo check if it's a ZIP file, and if you find a way to open your file with text editor (not sure that you can open a 500MB file), check the first 2 chars of the file, if you have PK, that's mean that this is a PKZIP file (so a ZIP file).<br>\r\n<br>\r\nA rar file begins with : Rar<br>\r\n<br>\r\nAs Cheeso says, even if it's a Zip file, the file can be corrupt.<br>\r\n<br>\r\nWinrar should be able to open a Zip64 archive.\r\n",
    "PostedDate": "2008-11-18T11:48:09.883-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133541",
    "ThreadId": "39585",
    "Html": "DomZ - that's right.<br>\r\nBut if the error Kovu is seeing, is a &quot;bad signature&quot; at position 50 in the file, then the PK characters have been found in the header of the file. <br>\r\n<br>\r\n",
    "PostedDate": "2008-11-18T19:39:19.1-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133582",
    "ThreadId": "39585",
    "Html": "Ok,<br>\r\n<br>\r\nfirst:<br>\r\n<a href=\"http://www.pictureupload.de/originals/pictures/191108085622_2008-11-19_084431.png\">http://www.pictureupload.de/originals/pictures/191108085622_2008-11-19_084431.png</a><br>\r\nThis is one of this large files in WordPad. You see: It begin with &quot;PK&quot;.<br>\r\nSo it seems to be a ZIP.<br>\r\n<br>\r\nsecond:<br>\r\nNo other DotNet ZIP Libary can open it, I try some of them.<br>\r\nThe Error-Handling in them seems worse then yours and throw a default error.<br>\r\n<br>\r\n",
    "PostedDate": "2008-11-18T23:47:29.89-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133663",
    "ThreadId": "39585",
    "Html": "If no package can open it, then it seems unanimous that it is not a valid zip file.<br>\r\nit seems to be corrupted.<br>\r\n<br>\r\nif you could give me a hex dump of the first 0x200 bytes I would be able to tell you more. <br>\r\n<br>\r\nThere are &quot;Zip fix&quot; tools out there, I think. I've never used any.&nbsp; But they say it is possible to repair corrupted zip files.<br>\r\n<br>\r\n",
    "PostedDate": "2008-11-19T08:34:51.377-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133860",
    "ThreadId": "39585",
    "Html": "I don´t think it´s corrupt.<br>\r\nBecause I can unzip it manualy with WinRar and Windows Native Zip. But not zip again, because it´s to large.\r\n",
    "PostedDate": "2008-11-20T00:57:47.053-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133907",
    "ThreadId": "39585",
    "Html": "Ok, in the &quot;Info&quot; Button in WinRar I found out that is a ZIP64 File!<br>\r\nIs it possible to get it extract?\r\n",
    "PostedDate": "2008-11-20T05:45:45.617-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "133954",
    "ThreadId": "39585",
    "Html": "no, DotNetZip does not do Zip64.  <br>\r\nIt is an active workitem. <br>\r\n<br>\r\nOne of the first things I will do is modify the library to detect zip64 and throw a proper exception, noting something like &quot;Zip64 is not yet supported.&quot; <br>\r\n",
    "PostedDate": "2008-11-20T09:20:59.86-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "141857",
    "ThreadId": "39585",
    "Html": "Kovu - can you get me that zip64 archive produced by WinRAR? <br>\r\nI'd like to try to embed support for zip64 in the library, and I need tests.\r\n",
    "PostedDate": "2008-12-19T07:26:38.03-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]