{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "&#63;&#63;&#63;&#63;&#63;  not reproducible, never tracked it down.  User reports it&#39;s no longer a problem. ",
    "ClosedDate": "2009-11-19T09:23:01.98-08:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "When the following code is run with any of the files that are in the \"problems\" directory, the resulting zip (after saved on the Mac, or on a PC and then moved to the Mac) will not open on a Mac with the default zip opener or with Stuffit, the standard Mac zip package, but Will open on Windows.\n//--------------------------------------------\nusing System;\nusing System.IO;\nusing System.Xml;\nusing Ionic.Zip;\n \nnamespace TryDotNetZip\n{\n    public partial class _Default : System.Web.UI.Page\n    {\n        protected void Page_Load(object sender, EventArgs e)\n        {\n            TryZip();\n            //createDownloadZipStream();\n        }\n \n        private void TryZip()\n        {\n            string zipName = String.Format(\"TryZip-{0}.zip\", DateTime.Now.ToString(\"yyyy-MMM-dd-HHmmss\"));\n \n            // prepare for zip stream\n            Response.BufferOutput = false;\n            Response.Clear();\n \n            Response.ContentType = \"application/zip\"; // application/octet-stream\"; //\n            Response.AddHeader(\"Content-Disposition\", \"filename=\" + zipName);\n            Response.Flush();\n            try\n            {\n                using (ZipFile zip = new ZipFile())\n                {\n                    //zip.ForceNoCompression = true;\n                    zip.AddDirectory(@\"c:\\temp\\tryZip2\", @\"TryZip2\\Subdir\");\n                    zip.Save(Response.OutputStream);\n                }\n            }\n            catch (Exception exp)\n            {\n                Console.WriteLine(exp);\n            }\n            Response.End();\n        }\n    }\n}\n//---------------------------------------------------\nTo run the code, please unzip the attached directory and files onto your server (running the code) in c:\\Temp it should open a subdirectory TryZip2.",
    "LastUpdatedDate": "2013-05-16T05:32:06.153-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-09-29T01:21:39.553-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "DotNetZip Mac problems",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 8871
  },
  "FileAttachments": [
    {
      "FileId": 2335,
      "FileName": "tryzip2.zip",
      "DownloadUrl": ".\\2335"
    }
  ],
  "Comments": [
    {
      "Message": "Part of discussion http://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=59740&ANCHOR#Post237857 ",
      "PostedDate": "2009-09-29T01:23:42.59-07:00",
      "Id": -2147483648
    },
    {
      "Message": "what version of the library are you using when you see the problem?",
      "PostedDate": "2009-09-29T12:35:15.857-07:00",
      "Id": -2147483648
    },
    {
      "Message": "(Sigh!) Sorry I didn't have notifications on, so didn't see your reply. \r\nIt's v1.9.0.6 following your post (Edited Sep 14 at 2:09 AM)\r\n 'I just posted v1.9.0.6, which includes this change.  I'd like to know if the Mac likes zip files produced this way. '\r\n\r\n//When do you sleep - or are the hours listed according to my time line (currently GMT -2 hours)?\r\n",
      "PostedDate": "2009-09-30T02:45:20.2-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Oh, the comments were sorted with most recent on top... I didn't miss anything.\r\nAnd the time is according to my local time (and it's +2 hours not -2)\r\nCheeso, could you please erase this and the former comment starting with \"Sigh\". Thanks.",
      "PostedDate": "2009-09-30T02:49:02.807-07:00",
      "Id": -2147483648
    },
    {
      "Message": "v.1.9.0.6",
      "PostedDate": "2009-09-30T02:50:08.483-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Currently it's only the PNG files that matter for me.",
      "PostedDate": "2009-09-30T08:54:21.32-07:00",
      "Id": -2147483648
    },
    {
      "Message": "sorry, I can't delete comments.   No need. nothing to worry about.",
      "PostedDate": "2009-10-01T10:03:28.87-07:00",
      "Id": -2147483648
    },
    {
      "Message": "(Recent on top as default is aggravating... Note to Codeplex guys if you read this!)\r\n\r\nCheeso, thanks! Any estimate when you'll get to it? For us its urgent, we thought we are almost there, then this bug creeped in.",
      "PostedDate": "2009-10-05T12:03:52.54-07:00",
      "Id": -2147483648
    },
    {
      "Message": "I just posted a very long response on the original discussion: \r\nhttp://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=59740\r\nShort summary is: I looked and I don't see a problem.  I suspect the problems you're seeing may be due to an out-of-date zip tool on the Mac.  I offered a couple ideas on how to verify that hypothesis. Let me know what the next steps are.\r\n\r\n",
      "PostedDate": "2009-10-29T04:37:55.163-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Working on it this week.",
      "PostedDate": "2009-11-16T04:47:35.67-08:00",
      "Id": -2147483648
    },
    {
      "Message": "1.9.0.30 seems to have fixed the problems. \r\nDid not try Compression.None yet, perhaps that was the cause.",
      "PostedDate": "2009-11-17T04:40:47.32-08:00",
      "Id": -2147483648
    },
    {
      "Message": "OK It works alright, but I'm only using the ZipReduced since I was not able to get the whole package to compile. \r\n(I removed the CF packages and was not able to config  the ILMerge to not take them into consideration so even ZipPartial failed, \r\nand no time to start fiddling with the bat files).\r\n\r\nSo if anybody wants to use streaming in the Mac, simply use ionic.zip.reduced.dll   ",
      "PostedDate": "2009-11-18T06:12:14.577-08:00",
      "Id": -2147483648
    },
    {
      "Message": "3 cheers for Dino Chiesa (aka Cheeso)!\r\nPlease close this issue. The reduced is good enough for us.\r\nWhere do we donate?",
      "PostedDate": "2009-11-19T03:39:54.883-08:00",
      "Id": -2147483648
    },
    {
      "Message": "Pashute, thanks for reporting the resolution you got.  \r\nTo anyone else reading this:  I want to caution you that Zip Reduced is no different from the full DotNetZip library, with respect to how the zips are created.  The Reduced Zip library (Ionic.Zip.Reduced.dll) differs from the \"normal\" zip library (Ionic.Zip.dll) in exactly one way:  the reduced form does not include the ability to create self-extracting archives.  If you are not creating a self-extracting archive, then there is absolutely no difference between the regular library and the reduced version.   Because of that, the idea that the reduced version somehow \"fixes\" the problem that Pashute saw with zip files on the Mac, is suspect.   After all the back and forth, I still don't understand the root cause of the problems he saw on the Mac.   I didn't put anything in v1.9.0.30 to fix any problem reported here.  Using the reduced library will not make any difference, in any problem not related to self-extracting archives.  In general, Zip files generated by DotNetZip will open successfully on the Mac.  If you have problems with Zip files generated by DotNetZip opening on the Mac, then please open a new discussion on the forums.  http://dotnetzip.codeplex.com/Thread/List.aspx   . I'll be happy to work through it with you.  \r\n",
      "PostedDate": "2009-11-19T09:22:27.467-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-11-19T09:23:01.98-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:58.737-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:06.153-07:00",
      "Id": -2147483648
    }
  ]
}