搜索 | 用户支持

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

Learn More

how do I stop firefox from downloading opened files to the Temp folder

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

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

由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.