ZipApi_AddFile

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.