For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > January 2006 > Amount of entries in zip file [Archive::Zip (Compress::Zlib)]









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Amount of entries in zip file [Archive::Zip (Compress::Zlib)]
Twig

2006-01-27, 6:59 pm

Where this is defined?
I'm using perl 5.6 and writing a script to get listing of zip file
content but getting complained of "too short file" when trying to access
2.2 Giga zip file.
Is there available archive module which can handle bigger files than 2
Gb's?

How to get over this?

Perl 5.6 is mandatory requirement for me, and reason to write this
script is get rid of external utils.

A. Sinan Unur

2006-01-27, 6:59 pm

"Twig" <noaddress@ohno.email.com> wrote in news:errCf.20135$Nb2.359147
@news1.nokia.com:

> Where this is defined?
> I'm using perl 5.6 and writing a script to get listing of zip file
> content but getting complained of "too short file" when trying to access
> 2.2 Giga zip file.
> Is there available archive module which can handle bigger files than 2
> Gb's?


I don't think it is a function of the module, but depends on how perl was
compiled. For example:

lssize

etc.

> How to get over this?


Get a Perl that supports 64-bit file offsets.

> Perl 5.6 is mandatory requirement for me, and reason to write this
> script is get rid of external utils.


If you have a zip utility that is widely available and works with 64-bit
offsets, why not use it?

Sinan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com