Languages

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

1 points
Asked by:
Root-ssh
127150

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 answer
2 points
Answered by:
Root-ssh
127150

Try to use following Dropzone.js configuration:

accept: 'application/zip, application/x-zip-compressed, multipart/x-zip'
0 comments Add comment
Native Advertising
ūüöÄ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

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

Join