ISS download different suffix name file will be limited, the Internet to find some information, are very old, their own re-organized under.
After the configuration is complete, all files in the access site will be forced to download, prompting the download window, including all the files such as Asp,php,txt.
The solution is mainly implemented by modifying MIME information, MIME reference manual: Http://www.w3school.com.cn/media/media_mimeref.asp
1. Click on your site to find the MIME type on the right side (the web says right-click Properties on the site, possibly the IIS version updates, and no attribute options)
2. Open the MIME type and click Add in the upper right corner: fill in the. ini type as an example
File extension:. ini MIME type: application/octet-stream
OK save, other extensions such as. txt. rar this is fine.
3. Configure to download all file types, add the same way, click Add, because to download all types, so the extension is. *,mime types also differ application/force-download
File extension:. * MIME Type: application/force-download
This allows you to configure IIS to allow you to download files of the specified type or all types.
IIS forces download all file type configurations or specify file types