EN
What is MIME Type for *.zip files when i work with input file type?
1
answers
1
points
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
Try to use following Dropzone.js configuration:
accept: 'application/zip, application/x-zip-compressed, multipart/x-zip'
0 comments
Add comment