Article ID: 279667
A Web server that uses the Content-disposition: attachment HTTP header to force a file download should prompt the user to open or save the file; however, in Internet Explorer 5.5 Service Pack 1 (SP1), the user is prompted to open or save the HTML file instead.
To resolve this problem, refer to the hotfix that is described in the following Microsoft Knowledge Base article:
281119In addition, a fix for this problem is incorporated in Microsoft security bulletin MS01-015:
(http://support.microsoft.com/kb/281119/EN-US/ )Internet Explorer Saves HTML Content Instead of the Active Document
WORKAROUNDThere are several ways to work around this problem:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/244757/EN-US/ )HOWTO: Download a File Without Prompting
(http://support.microsoft.com/kb/260519/EN-US/ )HOWTO: Raise a File Download Dialog Box for a Known MIME Type
(http://support.microsoft.com/kb/262042/EN-US/ )FIX: Content-Disposition: Attachment Saves Wrong Filename for Unknown Extension
(http://support.microsoft.com/kb/267991/EN-US/ )FIX: Content-Disposition: Attachment Fails for Known Content Types
266305For more information about download behavior, see the following MSDN Web site:
(http://support.microsoft.com/kb/266305/EN-US/ )FIX: Canceling Multiple File Downloads on Large File Causes Internet Explorer to Stop Responding
http://msdn2.microsoft.com/en-us/library/ms531417.aspxFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Article ID: 279667 - Last Review: June 19, 2014 - Revision: 6.0
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Contact us for more help