How to disable MIME sniffing (Error opening zip attachement within Application/x-zip-compressed file)
Try to open a mail from the web server provided by my ISP site and having an attachment shown as zip file. Cannot open it but an error occurred telling "the file is not a zip file or a downloaded file is corrupted,try to download again". Contacting the sender, he swear that is indeed a compressed file originated from an excel data base file. The "Help" tab from Internet Explorer recommend "to disable MIME sniffing" (what is this ?). Is something similar in Firefox, or other recommendation to open Application/x-zip-compressed file ? How to open such an attachment file in Firefox ? As a mention, I'm using Vista 32b , enough memory, I have installed WinZip software; any other zip files are opened correctly . Thanks Dan
Many-Many-Many Thanks. 7-zip solved the problem. The attachment shown as been a zip file can now be opened by 7-zip only. In fact there is a data base inside,readably with Excel or Database Viewer May I understand why ?Read this answer in context 0
Additional System Details
- Google Update
- Shockwave Flash 11.5 r502
- DivX Plus Web Player version 220.127.116.11
- The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
- RealPlayer(tm) LiveConnect-Enabled Plug-In
- RealPlayer Download Plugin
- LogMeIn, Inc. Remote Access Components
- Nokia Suite Enabler Plugin
- Adobe PDF Plug-In For Firefox and Netscape 10.1.5
- IE Tab 2 Plug-in for Mozilla/Firefox
- RealNetworks(tm) RealDownloader Chrome Background Extension Plug-In
- RealNetworks(tm) RealDownloader PepperFlashVideoShim Plug-In
- RealNetworks(tm) RealDownloader HTML5VideoShim Plug-In
- RealDownloader Plugin
- Bitdefender QuickScan Web Netscape Plugin
- RealNetworks(tm) RealPlayer Chrome Background Extension Plug-In
- RealPlayer(tm) HTML5VideoShim Plug-In
- NPRuntime Script Plug-in Library for Java(TM) Deploy
- Adobe Shockwave for Director Netscape plug-in, version 18.104.22.1684
- DivX VOD Helper Plug-in
- Office Live Update v1.5
- Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
- Office Plugin for Netscape Navigator
- User Agent: Mozilla/5.0 (Windows NT 6.0; rv:18.0) Gecko/20100101 Firefox/18.0
Windows will need the file to have the correct extension type that is the dot and three or four letters at the end of a file (you may need to set Vista to display it - I have not used Vista). That file extension then needs to be associated with the correct program, use the assoc command, or use a right click and open with.
Firefox itself lets you choose what to do with different file types, so you may set it to a particular application, to ask, or to save the file.
- see Applications panel - Set how Firefox handles different types of files
- and http://kb.mozillazine.org/File_types_and_download_actions
- mime types
techie server centred explanation https://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types
simpler general explanation
- Troubleshooting What to do if you can't download or save files
There are also possibilities the file is corrupt or virus checking is interfering so note the additional troubleshooting steps in the links above.
You can try to test the file with the 7-zip program or with another archive manager.
You can get the 7-zip program here: http://www.7-zip.org/
Run the installer and start the 7-zip file manager: 7zFM.exe
Browse to the file and click Test.
It is possible that anti-virus software is corrupting downloaded files or is otherwise interfering with downloading files.
Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
Many-Many-Many Thanks. 7-zip solved the problem. The attachment shown as been a zip file can now be opened by 7-zip only. In fact there is a data base inside,readably with Excel or Database Viewer May I understand why ?