adm-zip icon indicating copy to clipboard operation
adm-zip copied to clipboard

getEntries() doesnt return all entries of archive

Open dev-taberu opened this issue 3 years ago • 1 comments

i have zip

unzip -l first.zip | grep files
 22527590                     136448 files

when i tries to get entries

const zip = new AdmZip(path.resolve(this.zipDir, zipPath));
console.log(zipPath, 'files: ', zip.getEntries().length);

i got this:

[Nest] 8402  - 23.02.2022, 18:12:10     LOG [NestApplication] Nest application successfully started +3ms
first.zip files:  5376

only 5376 instead 136448

dev-taberu avatar Feb 23 '22 15:02 dev-taberu

If zip file contains 136448 files it has to be in Zip64 format. Strange Adm-zip should be able handle it.

5saviahv avatar May 28 '22 00:05 5saviahv