Archived Forum Post

Index of archived forum posts

Question:

File Size in zip

Aug 14 '14 at 07:43

how do you know the size of files in the archive? It is necessary to determine how much free space required on the drive to unpack


Answer

The ChilkatZipEntry object has UncompressedLength and UncompressedLengthStr properties. Loop through the objects and add up all the uncompressed lengths to get the total required space in bytes.