Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- EOCD Signature errors with Archive::Zip
July 22, 2006, 5:44 pm
rate this thread
Re: EOCD Signature errors with Archive::Zip
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
Archive::Zip::END_OF_CENTRAL_DIRECTORY_SIGNATURE_STRING, and if it doesn't
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 ?