Internet Explorer Prompts the User with Two Open or Save Dialog Boxes (238588)



The information in this article applies to:

  • Microsoft Internet Explorer 5.5 for Windows NT 4.0
  • Microsoft Internet Explorer 5.0 for Windows NT 4.0
  • Microsoft Internet Explorer 5.5 for Windows Millennium Edition
  • Microsoft Internet Explorer 5.5 for Windows 98
  • Microsoft Internet Explorer 5.0 for Windows 98
  • Microsoft Internet Explorer 5.5 for Windows 95
  • Microsoft Internet Explorer 5.0 for Windows 95
  • Microsoft Internet Explorer 5.5 for Windows 2000
  • Microsoft Internet Explorer 5.0 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows XP
  • Microsoft Internet Explorer version 6 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows NT 4.0
  • Microsoft Internet Explorer version 6 for Windows Millennium Edition
  • Microsoft Internet Explorer version 6 for Windows 98

This article was previously published under Q238588

SUMMARY

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.

    -and-

  • 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.

MORE INFORMATION

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.

REFERENCES

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


Modification Type:MinorLast Reviewed:8/29/2006
Keywords:kbprb KB238588