If you’re unable to open a zip archive after downloading it from EP-KM to your local client machine it can be quite frustrating, you might get an error saying the file is invalid or corrupted or get an error such as “Unexpected end of archive“, however there is usually a simple way to resolve this.
All files uploaded into KM Content have a mime type specified, in the case of zip files it’s either application/x-zip-compressed or application/zip. This mime type can become additionally compressed causing the file to appear corrupted when downloading.
So once you are aware of the mime type of the file, either application/x-zip-compressed or application/zip, you need to add this to the ‘Never Compressed’ list of the HTTP Provider in the J2EE Visual Administartor tool. This can be found under “Global Configuration -> Server -> Services -> HTTP Provider -> Properties -> Never Compressed” You should also add the file extension, e.g add *.zip,application/x-zip-compressed
After clicking the ‘Update’ button and Saving the properties a J2EE restart is then required.