Top community members

In the past we had a dream,
to have place where we could share IT knowledge,
to ask questions without fear that someone will judge us.

Now we are a group of people who make this dream come true. ‚̧ ūüíĽ

If you think sharing knowledge and helping other is valuable.

join our community - Click here

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

1 points
Asked by:

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:

Try to use following Dropzone.js configuration:

accept: 'application/zip, application/x-zip-compressed, multipart/x-zip'
0 comments Add comment

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey ūüĎč
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more