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

搜尋 Mozilla 技術支援網站

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

了解更多

zip downloads corrupt

more options

Need help fixing .zip downloads from getting corrupted. Able to do it with MS Edge with no errors. Corruption is beyond 7-Zip, WinRAR, and other zip apps abilities to open or fix!

Need help fixing .zip downloads from getting corrupted. Able to do it with MS Edge with no errors. Corruption is beyond 7-Zip, WinRAR, and other zip apps abilities to open or fix!

所有回覆 (5)

more options

Firefox should not modify the actual contents of a downloaded file. However, it sometimes does change the file extension causing programs to be unable to open them. If you set Windows to show all file extensions, can you tell whether Firefox is changing them in an inappropriate way? This article has the steps if needed:

https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/

By the way, your Firefox has a funny bit at the end of the "user agent" string it sent to this site. Any idea what that might indicate?

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0 Config/94.2.9111.12

more options

By the way, there is a setting to reduce the file extension renaming problem so we could set that to the side. It's a bit obscure how you switch it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste browser.download.sanitize_non_media_extensions and pause while the list is filtered

(3) Double-click the preference to switch the value from true to false

Let me know whether you notice any difference on future downloads.

more options

Maybe also check your security software as they might be inspecting the archive and possibly corrupt it.

It is possible that (anti-virus) security software is causing the problem. Try to disable security software temporarily to see if that makes a difference.

Boot the computer in Windows Safe Mode with network support to see if that has effect.

more options

Win11's Edge downloads .zip files just fine. However I'm still having this error using firefox even after changing the config browser.download.sanitize_non_media_extensions to false. It's not AVG either, since Edge works fine.

more options

So the problem is that you download a ZIP file, and Windows or your unzip program says it is not a zip file?

If you compare the files downloaded in Firefox and Edge, do you notice major differences, for example, is the file downloaded in Firefox much smaller? I mention that because sometimes a site will replace a file with an error page, but Firefox won't recognize the switch and saves it under the original name. You can change the file extension to .txt (text file) so it will open in a text editor, and then check its contents and see whether it looks like an HTML page. (For safety, I wouldn't rename it with a .html extension until you know exactly what is in it.)