[
  {
    "Id": "450447",
    "ThreadId": "214677",
    "Html": "<p>I have a problem with downloading zip files with firefox on IIS7.</p>\r\n<p>I send files to with response like this:</p>\r\n<p>&nbsp;</p>\r\n<div style=\"color:black;background-color:white\">\r\n<pre> Response.Clear();\r\n Response.BufferOutput = <span style=\"color:blue\">false</span>;\r\n Response.ContentType = <span style=\"color:#a31515\">&quot;application/x-zip-compressed&quot;</span>;\r\n Response.AddHeader(<span style=\"color:#a31515\">&quot;Content-Disposition&quot;</span>, &quot;attachment; filename=documents.zip&quot;);\r\n Response.Flush();\r\n</pre>\r\n<pre>+ Zip logic</pre>\r\n<pre><br></pre>\r\n<pre>This thing works on all other browsers just fine. It also works on firefox as long as it's not hosted on IIS7.</pre>\r\n<pre>But if it's hosted on IIS7 the firefox says the file is XML document and wants to open as such, but if I save it it opens as zip.</pre>\r\n<pre>If I remove the Response.Flush(); it opens as zip, but with large file you have to wait until the entire zip is downloaded before you see the Open/Save dialogue.</pre>\r\n<pre>I know that this is not DotNetZip Isue, but I'm hoping some of you had the same problem and found a suiting solution.</pre>\r\n<pre><br></pre>\r\n<pre>Thanks in advance.</pre>\r\n</div>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-06-02T00:44:56.217-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]