{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "not a bug",
    "ClosedDate": "2009-09-08T12:23:07.283-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "I'm having an issue with the zip files I generate not being able to be read in WinZip, but they are readable in things like the built in Windows compression tool and WinRAR. The issue was raised by a customer who has to use WinZip due to company guidelines so they cannot change this, so I'm wondering if anyone has the same error.\n \nWhen the file is downloaded I can open the zip file in Winzip and I can see the files in the folder fine, however when I try and extract them I get the Error: \"Warning: skipping FILENAME. The compressed size stored in the local header for this file is not the same as the compressed size stored in the central header.\"\n \nThe code I am using to generate the code is below, as I said it works with other zip programs just not Winzip\n \n \n \nstring displayFilename = HttpUtility.UrlPathEncode(zipFileName);\nResponse.AddHeader(\"Content-disposition\", \"attachment; filename=\" + displayFilename);\nResponse.ContentType = \"application/octet-stream\";\n \nIonic.Zip.ZipFile zipFile = new Ionic.Zip.ZipFile();\nforeach (string filePath in filePaths) {\n    zipFile.AddFile(filePath, \"\");\n}\nzipFile.Save(Response.OutputStream);\n \n \n \n \nThanks",
    "LastUpdatedDate": "2013-05-16T05:32:09.807-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-09-07T09:32:32.027-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Zip file cannot be opened in WinZip",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 8689
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "Heres a test file that's failing, I've changed the code so it's now using a \"using\" statement however its still failing. If you have any ideas they would be very helpful. Thanks",
      "PostedDate": "2009-09-08T01:34:17.947-07:00",
      "Id": -2147483648
    },
    {
      "Message": "sorry please ignore that last comment, its working with the Using statement now. Thanks for your quick response with this issue, was very helpful",
      "PostedDate": "2009-09-08T02:47:04.963-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-09-08T12:23:07.283-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:02.603-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:09.807-07:00",
      "Id": -2147483648
    }
  ]
}