Note that there are some explanatory texts on larger screens.

plurals
  1. POHelp creating ZIP files Windows won't block
    primarykey
    data
    text
    <p>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.</p> <p>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.</p> <p>The ZIP contains <code>.html</code>, <code>.css</code>, <code>.gif</code>, <code>.png</code> and <code>.js</code> files, and I am pretty sure the <code>.js</code> files are the security culprit, but I am wondering why I can download the <a href="http://deepliquid.com/content/Jcrop_Download.html" rel="nofollow noreferrer">Jcrop jQuery plugin</a> (or any other examples) as a ZIP file and extract it without Windows ever interfering, even though it obviously contains <code>.js</code> files, but something about my ZIP file is posing a security risk.</p> <p>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.</p> <p>Any feedback would be greatly appreciated! Let me know if you need more info.</p> <p>You can download an example file <a href="http://manasto.info/so/download.zip" rel="nofollow noreferrer">here</a>.</p> <p><strong>EDIT:</strong></p> <ul> <li>I am running Windows XP</li> <li>I am not running anti-virus</li> <li>The warning is: <strong>Windows has blocked access to these files to help protect your computer</strong></li> <li>I've unblocked the file but that does nothing</li> <li>The file is on my desktop</li> </ul> <p><strong>EDIT 2:</strong></p> <ul> <li>I added an example file at the bottom. Or you can see it <a href="http://manasto.info/so/download.zip" rel="nofollow noreferrer">here</a></li> <li>I have only used default extraction tools on XP and Windows 7.</li> <li>The ZIP appears to be empty on Windows and I can't see or open any of the files. </li> </ul> <p><strong>EDIT 3:</strong></p> <ul> <li>From the comments and answers, it appears that the file names were the problem due to an extra <code>/</code> being added somewhere in the process. I've uploaded an <a href="http://manasto.info/so/fixed.zip" rel="nofollow noreferrer">new example download</a> generated by my app with the file name fix, which you can download <a href="http://manasto.info/so/fixed.zip" rel="nofollow noreferrer">here</a>. Please let me know if that fixes the problem.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload