搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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!

所有回覆 (2)

more options

Maybe consider to start Firefox in Private Browsing mode.

more options

Thanks. Will try that and see what happens.