为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Open file saves to downloads folder.

  • 4 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 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.

被采纳的解决方案

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.

定位到答案原位置 👍 1

所有回复 (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).

由Frogger60于修改

more options

选择的解决方案

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