Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
已解決 封存

Firefox randomly choosing download location

JoeyH3 replied
JoeyH3

In Firefox, I have my preferences set to ask me where to save downloaded files. However, whenever I download a file, Firefox randomly chooses a folder I've saved files to previously, instead of the last location used.

For example, if I needed to download ten PDF documents, I would click to download the first one, navigate to my PDF folder, and save it. However, when I click to download the second one, the "save as" box will randomly be at another location, such as my pictures folder, my downloads folder, etc. There doesn't seem to be any pattern either indicating which folder it will choose either.

So basically, when I'm downloading multiple files to the same location, a lot of the times I will have to constantly have to navigate to that location for each file, instead of Firefox simply remembering where I saved the previous file to.

In Firefox, I have my preferences set to ask me where to save downloaded files. However, whenever I download a file, Firefox randomly chooses a folder I've saved files to previously, instead of the last location used. For example, if I needed to download ten PDF documents, I would click to download the first one, navigate to my PDF folder, and save it. However, when I click to download the second one, the "save as" box will randomly be at another location, such as my pictures folder, my downloads folder, etc. There doesn't seem to be any pattern either indicating which folder it will choose either. So basically, when I'm downloading multiple files to the same location, a lot of the times I will have to constantly have to navigate to that location for each file, instead of Firefox simply remembering where I saved the previous file to.

所有回覆 (3)

Upgrade your browser :

See How to fix preferences that won't save article

選擇的解決方法

Current Firefox versions remember the download directory based upon the URL, so if the URL changes then the default folder may be chosen if there hasn't been selected a download folder before for that server.

Firefox 11+ versions have support via browser.download.lastDir.savePerSite pref to disable to disable the feature to remember the download directory based upon the URL.
The browser.download.lastDir.savePerSite pref doesn't exist by default (it is hidden).
Create a new Boolean pref with the name browser.download.lastDir.savePerSite and set the value to false.
You may have the clear the "Site Preferences" via Clear Recent History to remove already stored data.


That did the trick, thank you :D