[
  {
    "Id": "659897",
    "ThreadId": "269538",
    "Html": "<p>Hello all, I use Ionic Zip and it was working fine. Today, in order to improve the speed of loading my pages, I activate the IIS compression feature (I followed this tutorial http://cgi.zdnet.fr/itsupport/microsoft/mvp6.htm)</p>\n<p>Now, all the archive created are corrupted when trying to download them.Do you know a solution ?</p>\n<p>&nbsp;</p>\n<p>here is my code to generate the archive:</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<div style=\"color: black; background-color: white;\">\n<pre>Response.Clear();\n\nSystem.Web.HttpContext c = System.Web.HttpContext.Current;\n                    \n<span style=\"color: blue;\">string</span> archiveName = String.Format(<span style=\"color: #a31515;\">\"archive-{0}.zip\"</span>, DateTime.Now.ToString(<span style=\"color: #a31515;\">\"yyyy-MM-dd-HHmmss\"</span>));\n Response.ContentType = <span style=\"color: #a31515;\">\"application/x-zip-compressed\"</span>;\n Response.AddHeader(<span style=\"color: #a31515;\">\"content-disposition\"</span>, <span style=\"color: #a31515;\">\"attachment; filename=\"</span> + archiveName);\n\n<span style=\"color: blue;\">using</span> (ZipFile zip = <span style=\"color: blue;\">new</span> ZipFile())\n{\n        <span style=\"color: green;\">// filesToInclude is a string[] or List&lt;string&gt;</span>\n        zip.AddFiles(filesToInclude, <span style=\"color: #a31515;\">\"\"</span>);\n        zip.Save(Response.OutputStream);\n}\n</pre>\n</div>\n<p>Response.End();</p>\n<p>Thanks a lot to help me fixing that.</p>\n<p>PS: it is working under Firefox but not on IE</p>",
    "PostedDate": "2011-08-18T03:15:35.163-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "660417",
    "ThreadId": "269538",
    "Html": "<p>Auto answer :</p>\r\n<p><a rel=\"nofollow\" href=\"http://support.microsoft.com/kb/841120/en\" target=\"_blank\">http://support.microsoft.com/kb/841120/en</a> ?</p>",
    "PostedDate": "2011-08-19T00:26:00.117-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661233",
    "ThreadId": "269538",
    "Html": "<p>not sure.</p>\r\n<p>your code looks fine to me.</p>",
    "PostedDate": "2011-08-21T10:22:57.173-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]