Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Open file saves to downloads folder.

  • 4 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par AliceWyman

more options

Hi all,

So I recently got a new laptop for work, so naturally installed the latest version of Firefox on it. I see in a previous version, they changed the way "Open file" works, so now instead of it downloading to your TEMP folder and opening the file and hiding where it is "saved", it now just SAVES the file to the Downloads folder and opens it.

This is a problem for me at work, as I essentially open 100s of files every day and my Downloads folder is just full of junk now that I would need to sort out from what is junk and what isn't. Is there a way to change this back to the way it was, or is there a way to make it so that when I tell Firefox to OPEN a file, that it saves it a different location from my default Downloads folder? This way I could simply schedule a task to auto delete files older than X days, without risking files that I actually want saved.

Thanks very much.

Hi all, So I recently got a new laptop for work, so naturally installed the latest version of Firefox on it. I see in a previous version, they changed the way "Open file" works, so now instead of it downloading to your TEMP folder and opening the file and hiding where it is "saved", it now just SAVES the file to the Downloads folder and opens it. This is a problem for me at work, as I essentially open 100s of files every day and my Downloads folder is just full of junk now that I would need to sort out from what is junk and what isn't. Is there a way to change this back to the way it was, or is there a way to make it so that when I tell Firefox to OPEN a file, that it saves it a different location from my default Downloads folder? This way I could simply schedule a task to auto delete files older than X days, without risking files that I actually want saved. Thanks very much.

Solution choisie

For the record, here is how the Firefox 102 Beta release notes describe this new opt-in preference setting:


Changed | There is now an enterprise policy (StartDownloadsInTempDirectory) and an about:config pref (browser.download.start_downloads_in_tmp_dir) that will once again cause Firefox to initially put downloads in (a subfolder of) the OS temp folder, instead of the download folder configured in Firefox. Files opened from the "what should Firefox do with this file" dialog, or set to open in helper applications automatically, will stay in this folder. Files saved (not opened as previously mentioned) will still end up in the Firefox download folder.


To enable this preference, open the Configuration Editor for Firefox by entering about:config in the Firefox address bar. Find browser.download.start_downloads_in_tmp_dir in the list of preferences and double-click on it to toggle the setting to true.

WARNING: Changing Firefox preferences from the about:config page can sometimes break Firefox or cause strange behavior. You should only do this if you know what you're doing. Please read Firefox Advanced Customization and Configuration Options to learn more.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (4)

more options

You can now enable the following preference in about:config. browser.download.start_downloads_in_tmp_dir

https://support.mozilla.org/en-US/kb/about-config-editor-firefox

more options

Terry said

You can now enable the following preference in about:config. browser.download.start_downloads_in_tmp_dir https://support.mozilla.org/en-US/kb/about-config-editor-firefox

Would this not cause ALL downloads, whether it is Saved or Open to save in the Temp folder? Or would this default to the Temp folder and allow me to choose Downloads when I click Save?

  • EDIT* Tested and works correctly. Opened files save in the Temp folder and clicking on Save asks where to save the file, defaulting in the location you have set in options (Downloads by default).

Modifié le par Frogger60

more options

Solution choisie

For the record, here is how the Firefox 102 Beta release notes describe this new opt-in preference setting:


Changed | There is now an enterprise policy (StartDownloadsInTempDirectory) and an about:config pref (browser.download.start_downloads_in_tmp_dir) that will once again cause Firefox to initially put downloads in (a subfolder of) the OS temp folder, instead of the download folder configured in Firefox. Files opened from the "what should Firefox do with this file" dialog, or set to open in helper applications automatically, will stay in this folder. Files saved (not opened as previously mentioned) will still end up in the Firefox download folder.


To enable this preference, open the Configuration Editor for Firefox by entering about:config in the Firefox address bar. Find browser.download.start_downloads_in_tmp_dir in the list of preferences and double-click on it to toggle the setting to true.

WARNING: Changing Firefox preferences from the about:config page can sometimes break Firefox or cause strange behavior. You should only do this if you know what you're doing. Please read Firefox Advanced Customization and Configuration Options to learn more.

more options

P.S. To learn more about this new preference setting, see Bug 1738574 Want an option to continue to use /tmp and autodelete downloads automatically opened in an application