Languages

What is MIME Type for *.zip files when i work with input file type?

1 points
Asked by:
Root-ssh
7626

What MIME Type should I use, when I work with *.zip files?

When I use accept: application/zip with Dropzone.js in react application it doesn't work in Google Chrome Browser on Windows and works in Chromium on Linux.

Dropzone.js generates following input attributes:

<input type="file" accept="application/zip" multiple="" autocomplete="off" style="display: none;" />
1 answers
2 points
Answered by:
Root-ssh
7626

Try to use following Dropzone.js configuration:

accept: 'application/zip, application/x-zip-compressed, multipart/x-zip'
0 comments Add comment
Native Advertising
50 000 ad impressions - 449$
ūüöÄ
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

‚̧ԳŹūüíĽ ūüôā

Join