Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add some file to ZIP archive.

Code Block
Object.AppendFile(tcFilename [, tcNameInArchive [, llIWontUTF8 [, lcPassword]]]])


Code Block
titleXFRX 22.0
Object.AppendFile(tcFilename [, tcNameInArchive [, llIWontUTF8 [, lcPassword [, lcComment]]]]])

Parameters   

tcFileName

   The source file name.

...

lcPassword

  File password.

lcComment

 File comment.

Return values 

Number

ValueDescription
-1The source file doesn't exists. 
-2The source file cannot open.
-3The file is big (greather then 4GiB).
0File append to ZIP archive
-102Bad paremeters. (ZIP_PARAMERROR)
-103File is not a zip file. (ZIP_BADZIPFILE)
-104Internal at error at zipping data. (ZIP_INTERNALERROR)

Remarks

Applies To: XFRX#ZIP