[
  {
    "Id": "183212",
    "ThreadId": "54358",
    "Html": "getting an error on unzipping a file created by winzip 11.0 with the default zip method of &quot;Optimize for maximum compressions (use best method for each file type)&quot; , works fine if I choose &quot;Legacy compression(Zip 2.0 compatible)&quot; however .... and well, while I could ask the user which compression button to check, I'll get a lot of flack ( people moan about the simplest things ) .... btw sharpziplib unzips the same file with no problem, but thats much more difficult to do what I want to ... which as an addendum if I get this issue solved... the user will zip a file on their pc(using winzip which is installed on all machines) then will upload the zip file to a location of my choosing wher I need to extract the contents(which consists of an html document I will have to rename btw, and a subfolder of files that are referenced by the html file relatively) and change the directory structure to what I need it to be at the new location ...any help? <br>\r\nbtww, I'm doing this with a web interface which is why ,afaik, they have to use winzip to zip the html file and the subfolder..then  I use the file upload control to move the zip file and unzip it at the destination <br>\r\n<br>\r\nedit: finally figured out how to look in the zipfile and I believe this smay help?<br>\r\n&quot;compression method (98): ppmd encoding&quot;<br>\r\nI deleted all files in the zip except the first one, this is the only compression method mentioned(previously I saw method (09) and (00)<br>\r\nedit 2: also fails on method (0x09) ... am I doing something wrong?<br>\r\nedit3: used th legacy compression option, then compression method (0x08) is used and unzips fine....<br>\r\n<span style=\"font-size:10px\">\r\n<p> </p>\r\n</span>\r\n",
    "PostedDate": "2009-04-24T05:21:46.043-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "183214",
    "ThreadId": "54358",
    "Html": "by the way heres the code,  I am using, version 1.8(figured Id try it since 1.7 was getting the error, but same in 1.8)<br>\r\nhavent implemented any of the changing the dir structure yet, straight from the examples, just hardcoded the paths for now for testing<br>\r\n<span style=\"font-size:13px;color:#0000ff\">\r\n<p>Sub </p>\r\n<p><span style=\"font-size:13px\">unzip() </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> OverwriteAnyExistingFiles </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">Boolean</span><span style=\"font-size:13px\"> = </span><span style=\"font-size:13px;color:#0000ff\">True </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> basepath </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">String </span></p>\r\n<p><span style=\"font-size:13px\">asepath = </span><span style=\"font-size:13px;color:#a31515\">&quot;\\\\cmiweb1\\development$\\plab\\API_WS_V9.1_B266_02102009_200U_2H_REL10.0_PT_RUN1.zip&quot; </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> ZipToUnpack </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">String</span><span style=\"font-size:13px\"> = basepath </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> UnpackDirectory </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">String</span><span style=\"font-size:13px\"> = </span><span style=\"font-size:13px;color:#a31515\">&quot;\\\\cmiweb1\\development$\\plab&quot; </span></p>\r\n<p><span style=\"font-size:13px\">StatusMessage.Text = </span><span style=\"font-size:13px;color:#0000ff\">String</span><span style=\"font-size:13px\">.Format(</span><span style=\"font-size:13px;color:#a31515\">&quot;Extracting file {0} to {1}&quot;</span><span style=\"font-size:13px\">, ZipToUnpack, UnpackDirectory) </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Using</span><span style=\"font-size:13px\"> zip1 </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> ZipFile = ZipFile.Read(ZipToUnpack) </span></p>\r\n<p><span style=\"font-size:13px;color:#008000\">'AddHandler zip1.ExtractProgress, AddressOf MyExtractProgess </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> e </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> ZipEntry </span></p>\r\n<p><span style=\"font-size:13px;color:#008000\">' here, we extract every entry, but we could extract conditionally,  </span><span style=\"font-size:13px;color:#008000\">' based on entry name, size, date, checkbox status, etc. </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">For</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">Each</span><span style=\"font-size:13px\"> e </span><span style=\"font-size:13px;color:#0000ff\">In</span><span style=\"font-size:13px\"> zip1 </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">Dim</span><span style=\"font-size:13px\"> ex </span><span style=\"font-size:13px;color:#0000ff\">As</span><span style=\"font-size:13px\"> ExtractExistingFileAction = ExtractExistingFileAction.OverwriteSilently\r\n<p> e.Extract(UnpackDirectory, ex)</p>\r\n</span></p>\r\n<p>&nbsp;</p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">End</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">Using </span></p>\r\n<p><span style=\"font-size:13px;color:#0000ff\">End</span><span style=\"font-size:13px\"> </span><span style=\"font-size:13px;color:#0000ff\">Sub </span></p>\r\n</span>\r\n",
    "PostedDate": "2009-04-24T05:28:27.173-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "184643",
    "ThreadId": "54358",
    "Html": "<p>Miky, <br>\r\nDotNetZip supports the DEFLATE compression algorithm.  DotNetZip does not support PPMd (0x98) or DEFLATE64 (0x09). <br>\r\nSorry!</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2009-04-28T11:33:26.353-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]