Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 216842 - Last Review: January 24, 2007 - Revision: 3.2

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

System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows Vista Solution Center
This article was previously published under Q216842

On This Page

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.

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.

APPLIES TO
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 3.02
  • Microsoft Internet Explorer 3.01
  • Microsoft Internet Explorer 3.0
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 3.02
  • Microsoft Internet Explorer 3.01
  • Microsoft Internet Explorer 3.0
  • Microsoft Windows Millennium Edition
  • Microsoft Windows 98 Standard Edition
Keywords: 
kbenv kbinfo KB216842
Retired KB ArticleRetired 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.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate