Download different points from "file: " and "http: " link

zhaozj2021-02-08  245

Download different points from "file: //" and "http: //" link

This article is suitable for

Microsoft Internet Explorer Version 3.0, 3.01, 3.02, 4.0, 4.01, 4.01 Service Pack for Windows 95

Microsoft Internet Explorer Versions 3.0, 3.01, 3.02, 4.0, 4.01, 4.01 Service Pack 1 for Windows NT 4.0

Microsoft Windows 98

summary

Microsoft Internet Explorer processes "file: //" link download and handle "http: //" download method, you can use this Different Points to combine MultiPurpose Internet Mail Extension (MIME) type settings on the server to automatically get one The Save AS dialog instead of downloading the file directly to the browser.

more information

Internet Explorer 3.x

When you download a document with Internet Explorer 3.x, Internet Explorer downloads this file and read its extension and MIME type. If the extension has been registered, Internet Explorer checks the corresponding registry and executes the operations required by the file type. If the file extension is not registered, Internet Explorer will prompt you if you want to download this file.

Internet Explorer 4

Internet Explorer 4 handles the extension of the registered file with the same method. If the extension is not registered, you are using the "file: //" link to download the file, then Internet Explorer tries yourself to determine the type of file. However, if you are downloading the file contains plain text (but the extension is not associated with the Text file type), Internet Explorer 4 can detect that it is a plain text file, then download it to the browser, so you can browse it.

When you use the "http: //" link to download the file, the file type can be properly associated because the server will send the MIME type (file type). So, the browser does not attempt to determine the type of file by the content of the file.

Article ID: Q216842

This article is provided by Microsoft Product Support Service Online Support.

Finally, Date: 1999. 2. 26

转载请注明原文地址:https://www.9cbs.com/read-1312.html

New Post(0)