This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
List files included inside a compressed Zip file.
Syntax
s = ZLib_List(sZipFile [, OnlyNames])
Returns
String.
Parameters
Name |
Type |
Optional |
Meaning |
sZipFile |
String |
No |
Full path name of the compressed Zip file |
OnlyFileNames |
Number |
Yes |
If %TRUE, only file names (and paths if present) will be returned |
Remarks
If success, this function will return a string organized lines and columns.
Lines are separated by $CRLF, columns are separated by $TAB
Columns are the following:
•File name (plus path or relative path if present)
•Date
•Time
•Original size
•Packed size
To parse returned string, use something like the following:
NumberOfFiles = PARSE(ReturnedString, YourStringArray, $CRLF, $TAB)
where:
•NumberOfFiles will get the number of rows parsed from ReturnedString string
•ReturnedString is the string returned from ZLib_List
•YourStringArray is a string array that will contain parsed data from ReturnedString. You have to declare this array before.
Restrictions
See also
Examples