it is probably due to the fact that Windows uses a different MIME type for zip files than macOS.
This puzzled me a bit this morning, so I thought I’d share the solution here:
String[] ACCEPTED_MIME_TYPES = {"application/zip", "application/x-zip", "application/x-zip-compressed", "multipart/x-zip"}; uploadComponent.setAcceptedFileTypes(ACCEPTED_MIME_TYPES); // upload.setAutoUpload(false);
“application/zip” is the one for macOS.