Firefox will not save my "Always do this with this file type" 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)
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.
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?
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.