We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.