Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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?

All Replies (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.