Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Differences Downloading from FILE:// and HTTP:// Links in Internet Explorer


View products that this article applies to.

This article was previously published under Q216842

↑ Back to the top


Summary

Internet Explorer handles downloads from FILE:// links differently from downloads using HTTP:// links. You can use this difference, in conjunction with the Multipurpose Internet Mail Extension (MIME) type settings on the server, to automatically receive a Save As dialog box instead of having the file downloaded directly into the browser.

↑ Back to the top


More information

Internet Explorer 3.x

When you use Internet Explorer 3.x to download a document from a FILE:// link, Internet Explorer downloads the file and reads its extension for the MIME type. If the extension is registered, Internet Explorer checks the registry for that file type and performs the action required by that file type. If the extension is not registered, Internet Explorer prompts you to determine if you want to download the file.

Internet Explorer 4

Internet Explorer 4 behaves in the same way as Internet Explorer 3.x for file types with registered extensions. If the extension is not registered and you are downloading the file from a FILE:// link, Internet Explorer tries to determine the type of file that it is downloading on its own. However, if the file you are downloading contains plain text (but has an extension not associated with text files), Internet Explorer 4 detects that it is a plain text file and downloads it into the browser so you can view it.

When you use an HTTP:// link to download a file, the file type is associated correctly because the MIME type (file type) is sent by the server. Therefore, the browser does not try to determine the file type on its own from the file contents.

↑ Back to the top


Keywords: KB216842, kbinfo, kbenv

↑ Back to the top

Article Info
Article ID : 216842
Revision : 5
Created on : 1/24/2007
Published on : 1/24/2007
Exists online : False
Views : 573