e-CryptIt Engine - Compression Xojo Plugin

ZipArchiveReader.ExtractToFile Method

Low level function to Extract to a file from a entry.

ExtractToFile(
   index as UInt32,
   destination as FolderItem)

Parameters

index
The index of the entry in the zip archive. First entry is number zero.The index of the entry in the zip archive. First entry is number zero.
destination
Destination where to put the file. (Your responsible for recreating the name and the path of the file here)

Remarks

To see how name and path are recreated then see the high level functions.

In most cases you will want to use the higher level functions that are far easier to use. You will mostly want to use this one if you are customising the functionality of the high level functions.

The LastError property can give hint on success or what error was generated.

See Also

ZipArchiveReader Class