搜尋 Mozilla 技術支援網站

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

了解更多

Firefox will not save my "Always do this with this file type" preference.

more options

Alright, bear with me because I am extremely new to Firefox. Anyway, when I download a .torrent file for uTorrent, it asks me the obligatory "What to do with this file type" question. Great. But when I checked to be sure it was opening uTorrent (Yes.) and ticked the "Always do this for this file type" box. Then, I clicked "OK". Awesome. Then, after that, when I try to download a .torrent file it asks the same question again. Click click. and again. click click. and again......you get the picture. Why wont it remember this preference?

Alright, bear with me because I am extremely new to Firefox. Anyway, when I download a .torrent file for uTorrent, it asks me the obligatory "What to do with this file type" question. Great. But when I checked to be sure it was opening uTorrent (Yes.) and ticked the "Always do this for this file type" box. Then, I clicked "OK". Awesome. Then, after that, when I try to download a .torrent file it asks the same question again. Click click. and again. click click. and again......you get the picture. Why wont it remember this preference?

所有回覆 (3)

more options

Sites override the "Always do this" preference by serving files with a special HTTP header known as Content-disposition: Attachment

You can look for this happening by installing the Live HTTP Headers extension then accessing it from the Tools menu just before clicking a .torrent link to monitor the headers sent.

more options

Like I said, I'm a noob so can you please explain to me what doing that will help me with? Meaning, if those headers are sent and I can monitor them with the tool you suggested, what can do about the headers it is sending?

more options

See also "File handling in Firefox 3 and SeaMonkey 2" http://kb.mozillazine.org/File_types_and_download_actions

Such actions are connected to the file type that the server sends and not the file extension. So if the server sends a different MIME type then a previously set action won't apply.