為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

download file size 0

  • 1 回覆
  • 0 有這個問題
  • 2 次檢視
  • 最近回覆由 Dropa

more options

When I download a file .epub (error rate 1%) or .mobi (error rate 3%) or .zip (error rate 0.2%) to my ebooks folder I randomly end up with "filename.ext" of size 0 and one "filename(1).ext" of the correct size and correct content. That error rate is independent of file size but dependent of the file extension.

The download never fails and no file have any defects.

Configuration:

  • Firefox 64bit 104.0 to 106.0.5 on Windows 10 Pro 22H2
  • In Settings: Always ask you where to save files is checked
  • Target folder (confirmed on each download) is a subfolder of Documents
  • Only antivirus is Microsoft Defender.
  • The user account is a Local account there is no one drive or other cloud storage solution active.

After 3 months of tests, I managed to solve the problem with: about:config and set browser.download.manager.scanWhenDone to false. I tough that option was gone in 2015, but apparently it is back.

That is however not a good solution.

Test I did:

  • Adding the download folder as an AV exclusion: no changes.
  • Disabling extensions: no changes.
  • Disabling indexing on the target folder: no changes.
  • Changed targeted folder: no changes.
  • Disabling the file history backup: no changes.

I suspected either a program is monitoring Documents folders for changes and opening the downloaded file concurrently with Firefox. Since disabling Firefox av interface probably seriously modify the timing of directory change notification and Firefox file manipulation, I'm still not sure who is to blame for the problem. If you have any idea on how to debug that, let me know.

When I download a file .epub (error rate 1%) or .mobi (error rate 3%) or .zip (error rate 0.2%) to my ebooks folder I randomly end up with "filename.ext" of size 0 and one "filename(1).ext" of the correct size and correct content. That error rate is independent of file size but dependent of the file extension. The download never fails and no file have any defects. Configuration: * Firefox 64bit 104.0 to 106.0.5 on Windows 10 Pro 22H2 * In Settings: Always ask you where to save files is checked * Target folder (confirmed on each download) is a subfolder of Documents * Only antivirus is Microsoft Defender. * The user account is a Local account there is no one drive or other cloud storage solution active. After 3 months of tests, I managed to solve the problem with: about:config and set browser.download.manager.scanWhenDone to false. I tough that option was gone in 2015, but apparently it is back. That is however not a good solution. Test I did: * Adding the download folder as an AV exclusion: no changes. * Disabling extensions: no changes. * Disabling indexing on the target folder: no changes. * Changed targeted folder: no changes. * Disabling the file history backup: no changes. I suspected either a program is monitoring Documents folders for changes and opening the downloaded file concurrently with Firefox. Since disabling Firefox av interface probably seriously modify the timing of directory change notification and Firefox file manipulation, I'm still not sure who is to blame for the problem. If you have any idea on how to debug that, let me know.

所有回覆 (1)

more options

Your going to have to provide example non-personal URL that has this issue - so others can verify what happening with the site and download.