为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

"This file is not commonly downloaded" for zip files in firefox but not in chrome or edge

more options

So since I was making a website for the first time, I registered a new domain name with the extension ".ml"(example something.ml) since I get it for free. Now, I hosted this domain on a well know server provider and I have an HTML code which makes user download a zip file containing some png images when clicked on a button. When I download the zip file on chrome, it works fine. But on Firefox, it says "This file is not commonly downloaded." I checked several hours but have failed to solve this issue which doesn't arrise in chrome or edge. Is it because of extension ".ml"?

The code I used for sending the zip file was ``` $zip = new ZipArchive(); $zip->open("$zipcreated"); $sendfolder = "$zipcreated"; header('Content-type: application/zip'); header('Content-Description: File Transfer'); header("Content-Disposition: attachment; filename=$sendfolder"); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); $size = filesize($sendfolder); header('Content-Length: ' . filesize("$sendfolder")); ob_clean(); readfile($sendfolder); ``` I tried using missingpadlock website and other checks but have failed to understand where the problem lies. Any help would be greatly appreciated!

So since I was making a website for the first time, I registered a new domain name with the extension ".ml"(example something.ml) since I get it for free. Now, I hosted this domain on a well know server provider and I have an HTML code which makes user download a zip file containing some png images when clicked on a button. When I download the zip file on chrome, it works fine. But on Firefox, it says "This file is not commonly downloaded." I checked several hours but have failed to solve this issue which doesn't arrise in chrome or edge. Is it because of extension ".ml"? The code I used for sending the zip file was ``` $zip = new ZipArchive(); $zip->open("$zipcreated"); $sendfolder = "$zipcreated"; header('Content-type: application/zip'); header('Content-Description: File Transfer'); header("Content-Disposition: attachment; filename=$sendfolder"); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); $size = filesize($sendfolder); header('Content-Length: ' . filesize("$sendfolder")); ob_clean(); readfile($sendfolder); ``` I tried using missingpadlock website and other checks but have failed to understand where the problem lies. Any help would be greatly appreciated!
已附加屏幕截图

所有回复 (2)

more options

If you downloaded a program/file from the internet then a zone identifier gets added to the file via an Alternate Data Stream (ADS). You can check the Security tab of the program via the right-click context menu in Windows Explorer and possibly remove this identifier. See also:

more options

I don't know why Firefox determines that some downloads are "not commonly downloaded" which implies that all the other files we download are "commonly downloaded." How is it possible to know this??

I suspect it could be related to the file hosting or some other criterion related to how the file is served. A search turned up others with this issue, for example, a user hosting files on Amazon S3 in 2017: https://stackoverflow.com/questions/43549196/fix-this-file-is-not-commonly-downloaded-warning-firefox-only