ZipApi_AddFile

Name

ZipApi_AddFile — Add a file to a ZIP that has been opened with ZipApi_CreateZip.

Description

Function ZipApi_AddFile% (
     zipHandle%,
     fileName$,
     includePath%,
     password$
)

Add a file to a ZIP that has been opened with ZipApi_CreateZip.

Parameters

zipHandle

Handle to a ZIP resource opened with ZipApi_CreateZip.

fileName

The name of the file to add.

includePath

Include the full path to the file. Use if adding folders inside the archive. The default value is true.

password

Optional password parameter if adding a password proteced file.

Return Values

True if the file was added, false if not.

See Also

ZipApi_CreateZip
ZipApi_CloseZip
ZipApi_AddBankAsFile

Index

Click here here to view the latest version of this page online