We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

Rohkem teavet

Can I download a file (to a folder I choose, not a temp) AND open it simultaneously?

more options

I'm trying to save a PDF file to a folder of my choosing, while also having it open in a PDF annotator program that I'm using. Basically, I'm trying to bypass having to save the file first, then opening it in a program. I want to be able to open it in the program, but ALSO save it to my desktop (not a temp folder) at the same time. Changing the default location for temp files doesn't work because then I get everything. I just want specific files. Any thoughts?

I'm trying to save a PDF file to a folder of my choosing, while also having it open in a PDF annotator program that I'm using. Basically, I'm trying to bypass having to save the file first, then opening it in a program. I want to be able to open it in the program, but ALSO save it to my desktop (not a temp folder) at the same time. Changing the default location for temp files doesn't work because then I get everything. I just want specific files. Any thoughts?

All Replies (1)

more options

Firefox doesn't have a built-in way to do that. I think the shortest workflow in Firefox is:

(1) Save to Desktop (or wheverever)

(2) Click the downloads arrow, then click the download to launch it in your default PDF handler

Extensions -- unless they coordinate with a companion program -- can't save files outside the Downloads folder (or maybe it's outside your selected downloads folder?).

This is quite indirect, but if you know someone who knows a Windows scripting language, maybe it would work. Create a script that you can select in the Download dialog through "Open" (in place of your PDF program) that does this:

(A) Receives the path to the file from Firefox (B) Moves the file to your preferred folder (C) Then launches the file in your preferred application