EOCD Signature errors with Archive::Zip

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm getting "can't find EOCD signature" errors from Archive::Zip 1.16 on
files that seem to be valid i.e. I can open them fine with WinZip. Anyone
know why this might be?

Re: EOCD Signature errors with Archive::Zip

Quoted text here. Click to load it

I don't really know - though the error presumably comes from the
_findEndOfCentralDirectory() subroutine in Zip.pm. Looks like that sub scans
the zip file for the string that has been assigned to the constant
find that string, it then throws that error.

I guess, therefore, that if WinZip also looks for the EOCD signature (which
seems to me a reasonable assumption), it must be looking for (and finding) a
different string than that being sought by Archive::Zip.

Can you upload a small zip file (that demonstrates the problem) to somewhere
on the web so that others can get a copy of it ?
How are these zip files being created ?


Site Timeline