Versions Compared

Key

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


Add some file to ZIP archive.

Code Block
eqZIP::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.

Info

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

lcPassword

  File password.

Return values 

  Number.

ValueDescription
-1

...

The source file doesn't

...

exists. 

...

-2

...

The source file cannot open.
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)