I've made an application that takes tagged versions of a project from an hg repository and creates a downloadable ZIP file of that the tagged revision.
The files are created on a MediaTemple server running Linux using CodeIgniter's ZIP Encoding Library. Everything works fine... on a Mac. But, when I download the files on a Windows computer, the archive is blocked from being extracted.
The ZIP contains .html
, .css
, .gif
, .png
and .js
files, and I am pretty sure the .js
files are the security culprit, but I am wondering why I can download the Jcrop jQuery plugin (or any other examples) as a ZIP file and extract it without Windows ever interfering, even though it obviously contains .js
files, but something about my ZIP file is posing a security risk.
Normally I would just find a quick software workaround for my particular situation, but since the plan is to sell access to these files, a quick software fix or an FAQ doesn't seem very user-friendly.
Any feedback would be greatly appreciated! Let me know if you need more info.
You can download an example file here.
EDIT:
- I am running Windows XP
- I am not running anti-virus
- The warning is: Windows has blocked access to these files to help protect your computer
- I've unblocked the file but that does nothing
- The file is on my desktop
EDIT 2:
- I added an example file at the bottom. Or you can see it here
- I have only used default extraction tools on XP and Windows 7.
- The ZIP appears to be empty on Windows and I can't see or open any of the files.
EDIT 3:
- From the comments and answers, it appears that the file names were the problem due to an extra
/
being added somewhere in the process. I've uploaded an new example download generated by my app with the file name fix, which you can download here. Please let me know if that fixes the problem.