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 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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.