Add some file to ZIP archive.
...
Code Block | ||
---|---|---|
| ||
Object.AppendFile(tcFilename [, tcNameInArchive [, llIWontUTF8 [, lcPassword [, lcComment [, liLevel] [, liMemLevel] [, liStrategy] [, liWBITS]]]]]]]]) |
Parameters
...
File name in ZIP archive. Default codepage is ANSI. If value of tcNameInArchive of llIWontUTF8 parameter is TRUE, then string will be convert to UTF-8.
...
Value | Description |
---|---|
-1 | The source file doesn't exists. |
-2 | The source file cannot open. |
-3 | The file is big (greather then 4GiB). |
0 | File append to ZIP archive |
-102 | Bad paremeters. (ZIP_PARAMERROR) |
-103 | File is not a zip file. (ZIP_BADZIPFILE) |
-104 | Internal at error at zipping data. (ZIP_INTERNALERROR) |
...