I constructed this file using a hack from the Zip manpage: if the input to a Zip compression command is streamed on standard input, the output is given in ZIP64 format since the tool doesn't know how big the input will be. I modified the resulting file by adding some leading junk text and editing the non-ZIP64 end-of-central-directory structure to have 0xFFFF for its "number of files" parameters, to help the test demonstrate that the ZIP64 data are being properly read. (0xFFFF is the value used in the non-ZIP64 structure if the archive actually has more than 65535 files.)
224 B
224 B