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 stop firefox from downloading opened files to the Temp folder

  • 11 odgovori
  • 50 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao blortz

more options

I have set firefox to download files to my "Downloads" folder, however, whenever I choose to Open a file instead of saving them, this file has to be downloaded first. I want firefox to stop saving these files to the temp folder and downloads them to my Downloads folder.

I have set firefox to download files to my "Downloads" folder, however, whenever I choose to Open a file instead of saving them, this file has to be downloaded first. I want firefox to stop saving these files to the temp folder and downloads them to my Downloads folder.

All Replies (11)

more options

Not sure if you can do that, but you can move files from the temp directory to other directories.

more options

that's exactly what I don't want to do, i want the opened files to be stored on my downloads folder, automatically so I don't have to go to Temp and move them.

more options

Specifically, what types of files are you referring to?

more options

files marked as "open", the ones that open automatically after they're downloaded, zip files for instance .

more options

Firefox uses the TEMP and/or TMP paths set in Windows (environment variables) to determine the folder for storing a file to be launched by external applications. Since you probably do not want to change this for all Windows programs (e.g., program installers), I can imagine a few workarounds.

One might be to find an extension that modifies how Firefox's Open/Save/Cancel dialog works.

Another might be to find a way to pass Firefox different environment variables than those set at the Windows level.

However, I did a websearch and didn't find such an extension or such a hack...

That said... if you choose download instead of open, you can use the "green arrow" and download panel to open the file quite quickly in the default application for that file type. Will that work for now?

more options

well if there's no other choice then I'll have to save things instead of just opening them.

more options

A possibility could be to launch Firefox via a cmd.bat file using the start command that sets the TMP and TEMP environment variables when launching Firefox, but that will (can) cause a lot of files to appear in that location.

more options

you mean change the entire temp folder, not only the files marked as Open. well I think that what I'm going to do is set the Temp folder as my default download folder and then make a shortcut. it would be nice if in the future the firefox team could fix this, allowing opened files to be save in downloads. thanks for the replies to all of you.

more options

Oops. Let me try again.

Izmjenjeno od strane bootsattheboar

more options

If you select to download a file, it goes to the chosen download folder. If, however, you choose to open the file instead, the system thinks you just want to look at the file and not save it. Therefore, it is a TEMPORARY file, and that is how it is stored. Note that temporary folders get cleaned out now ant then.

more options

I just confirmed it. When you choose Save, the file goes into the Downloads folder. When you choose Open, the file goes into the Temp folder. Thanks to the two gentlemen who pointed this out.