This article was previously published under Q238588
You may be prompted with two Open or Save dialog boxes when you use Internet Explorer to connect to certain Web pages under the following conditions:
Neither a file name nor an extension is specified in the Uniform Resource Locator (URL) of a Get request.
The server replies with both a registered "Content-Type" header and the "Content-Disposition: attachment; filename=" header which specify the file name that you want.
Because neither a file name nor an extension is defined in the URL for the Get request, Internet Explorer does not know what type of data to expect in the response; therefore, Internet Explorer sets a default Octet-Stream data type.
This data type causes Internet Explorer to display the Open or Save dialog box with the file name information that indicates the Active Server Pages (ASP), Common Gateway Interface (CGI), or PerlScript file that had been located in the URL for the Get request.
If you open the document, Internet Explorer examines the data type that is currently set for Octet-Stream. Because this is an ambiguous data type and there is no file name or extension information in the URL, Internet Explorer looks for additional headers and finds the "Content-Type" and "Content-Disposition: attachment; filename= " headers.
Because the file name and extension is specified in the "Content-Disposition: attachment; filename=" header and the data type is defined in the "Content-Type" header, you are prompted with a second Open or Save dialog box that contains the correct file name information.
To resolve this issue in Internet Explorer 5.5 only, update to Service Pack 2.
For additional information about a similar issue, click the following article number to view the article in the Microsoft Knowledge Base:
303750 Incorrect File Name in the File Open or File Save Dialog Boxes