"This file is not commonly downloaded" for zip files in firefox but not in chrome or edge
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!
Alle Antworten (2)
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:
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