On 2011-09-09 18:37:23, ejtrochim wrote:
Show quoted text> Archive::Zip does not support the Zip64 format which is required to read
> and write archives greater than 4GB, have members with
> compressed/uncompressed sizes over 4GB or have more than 65,535 members
> in an archive.
>
> Currently, Archive::Zip will fail to read in a Zip64 archive, claiming
> it encountered a bad signature. Additionally, Archive::Zip will produce
> an archive with corrupted metadata in the central directory if it
> attempts to create an archive that exceeds any of the above limits.
To help people googling with the error message — here's how a stack
trace looks like when Archive::Zip tries to read such a file:
format error: bad signature: 0x031e0201 at offset 4456518 in file
/tmp/64k.zip
at /usr/local/lib/perl5/site_perl/5.12.4/Archive/Zip.pm line 477
Archive::Zip::_readSignature('IO::File=GLOB(0x8029e4630)',
'/tmp/64k.zip') called at
/usr/local/lib/perl5/site_perl/5.12.4/Archive/Zip/Archive.pm line 603
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x801812648)',
'IO::File=GLOB(0x8029e4630)', '/tmp/64k.zip') called at
/usr/local/lib/perl5/site_perl/5.12.4/Archive/Zip/Archive.pm line 548
Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x801812648)',
'/tmp/64k.zip') called at
/usr/local/lib/perl5/site_perl/5.12.4/Archive/Zip/Archive.pm line 51
Archive::Zip::Archive::new('Archive::Zip::Archive',
'/tmp/64k.zip') called at
/usr/local/lib/perl5/site_perl/5.12.4/Archive/Zip.pm line 287
Archive::Zip::new('Archive::Zip', '/tmp/64k.zip') called at
/tmp/64kzip.pl line 23
Regards,
Slaven