Create a zipfile.
pathname contain on Windows NT a filename like "c:\\dir\\zipfile.zip" or on an Unix computer "dir/zipfile.zip".
if the file pathname exist and append=1, the zip will be created at the end of the file. (useful if the file contain a self extractor code)
If the zipfile cannot be opened, the return value is NULL.
Else, the return value is a zipFile Handle, usable with other function of this xzip package.
WARNING: Do not use append=1 for normal operation (inserting a
compressed file into the zip archive), you CANNOT
append compressed files to an existing archive.
pathname |
Result |
file |