為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Some downloads start as binary files. Can I change this?

  • 2 回覆
  • 69 有這個問題
  • 14 次檢視
  • 最近回覆由 doc_dot

more options

Many times when I try to download something, the file is saved (or will be saved) as a binary file. None of the programs I know of on my computer will open, convert, or run binary files. Whenever I come to a page that requires something downloaded, I have to open up Internet Explorer 8 (YUCK!) and paste the hyperlink.

NOTE: Believe this happens on either programs or applications that I try to download. It has happened when I try to download the latest version of Flash. This problem does not happen when I download a Picture, Music, or Video file.

Many times when I try to download something, the file is saved (or will be saved) as a''''' binary '''''file. None of the programs I know of on my computer will open, convert, or run binary files. Whenever I come to a page that requires something downloaded, I have to open up Internet Explorer 8 (YUCK!) and paste the hyperlink. NOTE: Believe this happens on either programs or applications that I try to download. It has happened when I try to download the latest version of Flash. This problem ''does not'' happen when I download a Picture, Music, or Video file.

所有回覆 (2)

more options

For an application/program (or executable, to use the correct term) to beserved as a binary file is actually quite normal. Internet Explorer's behaviour differs slightly because it also employs the Windows idiom of checking the filename extension when determining how to handle the download. For example, if a filename ends in ".exe" then Internet Explorer will give you a Run option, as well as allowing you to save/download.

Firefox depends solely on the MIME type to determine the type of content, which is an Internet standard. The MIME type is supposed to be set by the server, just before it starts streaming the content back to the browser. And, most of the time, it does so correctly (which is why your pictures/music/videos work as expected).

EXE files are pretty much an exception to the norm. They are frequently served as binary content. In practice, it doesn't really matter. Firefox will only give you the option to save the file but, if you want to run it, simply double-click the file from the Downloads window after it has finished. Windows should know exactly what to do with it.

As far as I'm aware, Firefox does not pay any heed to file extensions for security reasons and because it is a cross-platform, standards-based product. Are you actually having a problem with running the program after it has finished downloading? Taking your Flash example, the process should be as follows:


  1. Firefox brings up the prompt to download the file
  2. You click Save File
  3. After the download has completed, you double-click it from Firefox's downloads window
  4. The Firefox installer should now begin

EDIT: There is an extension that does what you want called OpenDownload. However, it is only compatible with Firefox 3.6 as it hasn't been updated to work with any newer version yet.

由 kerframil 於 修改

more options

I followed previous directions. No luck. Frustrating.