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

Firefox 'save picture as' function choses random directory

  • 2 پاسخ
  • 3 have this problem
  • 24 views
  • آخرین پاسخ توسّط marlukan

more options

FF 57.0.2 (Win 7 64bit)

'Save Image As' keeps changing the location it's saving the file. As I'm going through various pages and saving certain images, I notice that sometimes it saves where I'm expecting it to, (the location I most recently selected while saving an image), but very often, in the same session (meaning I haven't closed and restarted FF), it decides to change the location to a directory I've used earlier, instead of where it just saved the previous file.

I thought it might be a scenario something like, I open tabs 1 - 5, save images to location A. Then I save a file to location B, open up pages 6 - 10, save a file to location A again. At this point I expect that my files will default to location A, but maybe pages 6 - 10 now have location B associated with them and they will default there instead. I just tested that and that's not it.

It's also not extension (ie .jpg, .gif) that forces the change of location. I can't figure out what triggers it.

FF 57.0.2 (Win 7 64bit) 'Save Image As' keeps changing the location it's saving the file. As I'm going through various pages and saving certain images, I notice that sometimes it saves where I'm expecting it to, (the location I most recently selected while saving an image), but very often, in the same session (meaning I haven't closed and restarted FF), it decides to change the location to a directory I've used earlier, instead of where it just saved the previous file. I thought it might be a scenario something like, I open tabs 1 - 5, save images to location A. Then I save a file to location B, open up pages 6 - 10, save a file to location A again. At this point I expect that my files will default to location A, but maybe pages 6 - 10 now have location B associated with them and they will default there instead. I just tested that and that's not it. It's also not extension (ie .jpg, .gif) that forces the change of location. I can't figure out what triggers it.

Chosen solution

The last used directory for the website (host) serving the file for download will be preselected in the file picker. If no download directory for the current website (host) has been stored, browser.download.lastDir will be used.

You can disable the feature to remember a host based download directory by creating a new Boolean pref on the about:config page with the name browser.download.lastDir.savePerSite pref and set its value to false.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

Read this answer in context 👍 2

All Replies (2)

more options

Chosen Solution

The last used directory for the website (host) serving the file for download will be preselected in the file picker. If no download directory for the current website (host) has been stored, browser.download.lastDir will be used.

You can disable the feature to remember a host based download directory by creating a new Boolean pref on the about:config page with the name browser.download.lastDir.savePerSite pref and set its value to false.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

First tests showed that that solution should have solved my problem. thank you !

Nevertheless Mozilla developers, this "store option" should be available in the common user's options menue.