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

搜尋 Mozilla 技術支援網站

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

了解更多

How do I automatically download txt files?

more options

I can easily make FF download pdf, docx files automatically directly to my specified folder but not txt-files. Is there a fix for this?

I can easily make FF download pdf, docx files automatically directly to my specified folder but not txt-files. Is there a fix for this?

所有回覆 (6)

more options

hello lundorff,

Generally, all downloads are saved/stored in one folder of your choosing. Then from there it is up to you what to do with those files, ie open them, move them, rename them, etc....

It is unclear as to why a file that you do not want would be downloaded to your system and without your knowledge, like that txt file you mentioned.

more options

I have not explained this well enough.

I don't want the dialog box asking me where or what to do with the file. When clicking a link leading to fx. a pdf-file it will automatically download to my folder with no dialog box. With txt-files it will either open in the browser or open the dialog box.

more options

Oh I see. I do get the dialog box frequently but not always. I never had given it much thought.

Barring the above, you do have have the FF setting for "not asking you" ?

See attached pic.

more options

I have it set to that yes, and in the list below I can further specify pdf, docx and more to simply download without prompting, but txt is exempt from that list.

more options

Interesting. Thanks for enlightening me.

I had never noticed that the window to set default apps to control files was not customizable.

I have searched around, and it seems you have not been the only one with this issue.

And i have searched around some of the behind options for FF. But i cant find where to add another entry into that window.

I look forward to answer for your good question !

more options

Firefox opens plain text and HTML files by default, and that is difficult to work around. Using right-click > Save Link As... on the link to the file will show a file browsing dialog to choose the folder. Since Firefox usually shows the last folder you used, you might be able to just press Enter in that dialog, but it's still an extra step or two.