[Info-vax] ZIP and UNZIP maximum file size
Steven Schweda
sms.antinode at gmail.com
Tue Nov 29 19:05:18 EST 2011
On Nov 29, 4:04 pm, JF Mezei <jfmezei.spam... at vaxination.ca> wrote:
> In what way does ZIP have file size limitation in terms of its format ?
> is there a catalogue at the begining which points to file offsets or
> contains 32 bit values for individual file sizes ?
The catalog (known as the "central directory") is near the
end of the archive, so the programs can have problems if they
can't seek to the end of a large file, and the size fields
were 32 bits.
http://www.pkware.com/documents/casestudies/APPNOTE.TXT
Look for "size", "number of entries", and "ZIP64". (And I
was wrong when I said that "the 64K (16-bit) file count limit
is now a 4G (32-bit) limit." The Zip64 format has a a 64-bit
field for that, not a 32-bit field. So don't worry.)
> Sorry, I didn't mean "pointer" in the sense of a memory pointer. [...]
It's C software, and, in C, "pointer" has a specific
meaning.
More information about the Info-vax
mailing list