[Patches] [ python-Patches-1446489 ] zipfile: support for ZIP64

SourceForge.net noreply at sourceforge.net
Tue May 16 09:40:40 CEST 2006


Patches item #1446489, was opened at 2006-03-09 14:58
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1446489&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Ronald Oussoren (ronaldoussoren)
>Assigned to: Ronald Oussoren (ronaldoussoren)
Summary: zipfile: support for ZIP64

Initial Comment:
The attached patch implements support for ZIP64, that is zipfiles 
containing very large (>4GByte) files and zipfiles that are larger than
4GByte themselves. 

The output of this patch can be read by pkzip (see below for the actual 
version I used for testing).




----------------------------------------------------------------------

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-04-02 19:13

Message:
Logged In: YES 
user_id=580910

The "don't use the ZIP64 extension" flag is a good idea, zipfiles that use this 
extension aren't readable by the infozip tools (zip and unzip on most unix 
systems).

I'll add tests and documentation in the near future.

The version of zipfile that I'm currently using also contains a patch for 
speeding up the opening of zipfiles, for the type of files I'm dealing with 
(about 11GByte large with tens of thousands of files) the speedup is very 
significant. I suppose it's better to file that as a separate patch after this has 
been approved.

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2006-04-02 05:02

Message:
Logged In: YES 
user_id=29957

I'd like to see a testcase and possibly a note for the
documentation about the new semantics. Also, should it be
possible to say "don't use the ZIP64 extension, instead
raise an Error" for people who don't want to generate these?
 

----------------------------------------------------------------------

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-03-09 15:28

Message:
Logged In: YES 
user_id=580910

Oops, I've uploaded the wrong file. zipfile-zip64.patch is the correct one.

I've tested the correctness of created archives using this version of pkzip:

pkzipc -version
PKZIP(R) Server  Version 8  ZIP Compression Utility for Linux X86
Copyright (C) 1989-2005 PKWARE, Inc.  All Rights Reserved. Evaluation 
Version
PKZIP Reg. U.S. Pat. and Tm. Off.  Patent No. 5,051,745
Patent Pending

Version 8.40.66


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1446489&group_id=5470


More information about the Patches mailing list