[
  {
    "Id": "74635",
    "ThreadId": "22376",
    "Html": "\r\nHi,<br /><br />I created a .zip file (using a third party zipper) which contains 2044 files. After extracting the zip file using ExtractAll(), I noticed I was not able to open 9 files correctly; The images (.jpg files) could not be rendered anymore. Extracting the files with WinZip 8.0 resulted in no problems at all. All files could be rendered correctly...<br />The mysterious 9 files had the same compressed and uncompressed size (in bytes) but had the compression method 'deflated' in the Winzip properties. After recreating the zip-file using Winzip 8.0 I noticed the file could now be extracted correctly by DotNetZip, and the zip-properties are slightly different now. Because Winzip is able to extract the original file succesfully, I think this exceptional situation is not handled correctly by the DotNet Zip Library.<br /><br />The detailed file properties of one of the original files (not extractable) and the recreated one (extractable) are noted below. (These file properties were rendered in Winzip 8.0)<br /><br />Your thoughts on this subject are most welcome.<br /><br />Greetz<br /><br />ORIGINAL FILE PROPERTIES:<br /><br />    part number in which file begins (00):          part 1<br />    relative offset of local header:                5477215 (0x0053935f) bytes<br />    version made by operating system (00):          MS-DOS, OS/2, NT FAT<br />    version made by zip software (45):              4.5<br />    operat. system version needed to extract (00):  MS-DOS, OS/2, NT FAT<br />    unzip software version needed to extract (20):  2.0<br />    general purpose bit flag (0x0000) (bit 15..0):  0000.0000 0000.0000<br />      file security status  (bit 0):                not encrypted<br />      extended local header (bit 3):                no<br />    compression method (08):                        deflated<br />      compression sub-type (deflation):             normal<br />    file last modified on (0x00003690 0x00005c97):  2007-apr-16 11:36:46<br />    32-bit CRC value:                               0x7f4a722c<br />    compressed size:                                69 bytes<br />    uncompressed size:                              69 bytes<br />    length of filename:                             33 characters<br />    length of extra field:                          0 bytes<br />    length of file comment:                         0 characters<br />    internal file attributes:                       0x0000<br />      apparent file type:                           binary<br />    external file attributes:                       0x00000021<br />      non-MSDOS external file attributes:           0x000000<br />      MS-DOS file attributes (0x21):                rdo arc<br />Current Location part 1 offset 10214503<br />    filename:website\\images\\sortdescending.gif<br />Current Location part 1 offset 10214536<br />Central directory entry PK0102 (4+42): #1398<br /><br />RECREATED FILE PROPERTIES:<br /><br />    part number in which file begins (00):          part 1<br />    relative offset of local header:                5524860 (0x00544d7c) bytes<br />    version made by operating system (00):          MS-DOS, OS/2, NT FAT<br />    version made by zip software (20):              2.0<br />    operat. system version needed to extract (00):  MS-DOS, OS/2, NT FAT<br />    unzip software version needed to extract (10):  1.0<br />    general purpose bit flag (0x0000) (bit 15..0):  0000.0000 0000.0000<br />      file security status  (bit 0):                not encrypted<br />      extended local header (bit 3):                no<br />    compression method (00):                        none (stored)<br />    file last modified on (0x00003690 0x00005c97):  2007-apr-16 11:36:46<br />    32-bit CRC value:                               0x7f4a722c<br />    compressed size:                                69 bytes<br />    uncompressed size:                              69 bytes<br />    length of filename:                             33 characters<br />    length of extra field:                          0 bytes<br />    length of file comment:                         0 characters<br />    internal file attributes:                       0x0000<br />      apparent file type:                           binary<br />    external file attributes:                       0x81240021<br />      non-MSDOS external file attributes:           0x812400<br />      MS-DOS file attributes (0x21):                rdo arc<br />Current Location part 1 offset 10279536<br />    filename:website\\images\\sortdescending.gif<br />Current Location part 1 offset 10279569<br />Central directory entry PK0102 (4+42): #1397<br />",
    "PostedDate": "2008-02-18T05:48:53.033-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "74658",
    "ThreadId": "22376",
    "Html": "\r\nif you send me a zip created by the third-party zipper, that exhibits this behavior, I will be ale to look at it. <br />what's the third-party thing? <br /><br />I don't want all 2044 files. I just want a zip with the 9 that fail. <br /><br />thanks<br />",
    "PostedDate": "2008-02-18T06:57:11.383-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "75158",
    "ThreadId": "22376",
    "Html": "\r\nThanks for your quick reply. I posted my response with attachment in an 'Issue Tracker' topic with the same title. If you have any questions, don't hesitate to ask.<br /><br />With regards.<br />",
    "PostedDate": "2008-02-20T00:03:58.373-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "78075",
    "ThreadId": "22376",
    "Html": "\r\nHi,<br /><br />Could you please give me an update on this issue?<br /><br />Thnx<br />",
    "PostedDate": "2008-03-04T06:24:38.763-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "87646",
    "ThreadId": "22376",
    "Html": "\r\nAlong these same lines (dealing with compressed files being added to a ZipFile) I added a .jpg as a ZipEntry and it extracts just fine with code if I use ZipFile.ExtractAll().  However, if I call ZipFile.Save(\"c:\\somewhere\\foo.zip\") and try to unzip it with WinZip or WinRar, it says the .jpg file is corrupt.<br />",
    "PostedDate": "2008-04-18T13:21:24.153-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "87736",
    "ThreadId": "22376",
    "Html": "\r\nRVeldhuis, I reproduced the original problem, and fixed it. <br />see  change set 16914.<br />",
    "PostedDate": "2008-04-19T01:52:29.283-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]