using this for the accept field in my file input:
application/zip,application/x-zip,application/x-zip-compressed,application/octet-stream
Result:
I know chrome is technically right, but I'm trying to be user friendly here.
HTML allows you to add the file upload functionality to your website by adding a file upload button to your webpage with the help of the <input> tag. The <input type=”file”> defines a file-select field and a “Browse“ button for file uploads.
try
<!-- (IE 10+, Edge, Chrome, Firefox 42+) --> <input type="file" accept=".zip,.rar,.7zip" />
<input type="file" accept="zip,application/octet-stream,application/zip,application/x-zip,application/x-zip-compressed">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With