zipfile 2GB problems?

Steve Holden steve at holdenweb.com
Sun Jul 15 21:06:03 CEST 2007


xamdam wrote:
> On Jul 15, 12:35 am, xamdam <maxkhe... at gmail.com> wrote:
>> Hi fellas,
>> I am experiencing problems reading a 2GB zipfile consisting of
>> multiple zipped files. I found a thread http://mail.python.org/pipermail/python-dev/2005-April/053027.html
>> that mentions a problem on the writing side, does such a problem exist
>> on a reading side? I am using 2.4.1, perhaps there is a fix in a later
>> version?
> 
> Additional info: my file is from a data provider, do not know what
> they used to compress it. Previous files worked ok, this one is the
> 1st over 2GB. Winzip has no problem with it.
> 
> 
It could be you are using a Python with an in-built limit of 2GB on file 
size. What happens if you open the file, seek past the 2GB point and 
then try and read data?

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list