Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Add some file to ZIP archive.

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

Parameters   

tcFileName

   The source file name.

tcNameInArchive

    File name in ZIP archive. 

llIWontUTF8
   A wish uses UTF-8 for encoding file name.

For UTF-8 encoding  or password is needy zlib.dll version 1.25 or higher.

lcPassword

  File password.

Return values 

Number

ValueDescription
-1The source file doesn't exists. 
-2The source file cannot open.
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

  • No labels