I use asp.net upload to upload a 7zip on the server. I am sure the 7zip file has been uploaded, e.g: abc.7z and I checked it on the FTP account, it is available. However, when I click on a hyperlink of that 7z file. I can not download it from Chrome. Why it is like that?
How can I enable chrome or other browsers to download 7z from my server?
Thanks in advance.
I’m assuming that this is nothing specific to Google Chrome, but would happen with any web client you try – including something like
wget. Make sure that you have a MIME type registered for files of type*.7zwithin IIS. Otherwise, it is likely preventing downloads of unknown types for security reasons.Details at http://support.microsoft.com/kb/326965: “IIS 6.0 does not serve unknown MIME types” and http://technet.microsoft.com/en-us/library/cc725608%28WS.10%29.aspx: “Add a MIME Type (IIS 7)”