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.

Learn More

Don't resume downloads upon crash

more options

Hi,

I am running firefox from a windows batch script which downloads a file and after a specified time kills firefox using 'taskkill /F /im firefox.exe /T'.

Upon being killed, when I restart firefox from the script again, I do not want it to resume the download which is had been downloading before. I am running the following settings:

browser.download.manager.quitBehavior 2 browser.sessionstore.resumt_from_crash false.

Even though I have these settings, I seem to have no effect of these. The download automatically resumes each time. Am I missing something here??

Thanks!

Hi, I am running firefox from a windows batch script which downloads a file and after a specified time kills firefox using 'taskkill /F /im firefox.exe /T'. Upon being killed, when I restart firefox from the script again, I do not want it to resume the download which is had been downloading before. I am running the following settings: browser.download.manager.quitBehavior 2 browser.sessionstore.resumt_from_crash false. Even though I have these settings, I seem to have no effect of these. The download automatically resumes each time. Am I missing something here?? Thanks!

All Replies (2)

more options

Maybe consider to start Firefox in Private Browsing mode.

more options

Thanks. Will try that and see what happens.