On this Page

    _file.zip

    (As of 3.1.002.06)

    Add a file to zip archive.

    Syntax

    _file.zip(zipPath, filePath[, addMode])

    Parameters

    zipPath is the name of a zip file to be created or modified.

    filePath is the name of a file or folder to be added to zip archive. As of 3.2.001.05, wildcard for filenames are supported (like in/file*.pdf).

    addMode is a string that defines whether archive is truncated or appended. Possible modes are create (default) or add. If mode is add but zip file doesn't exist then create mode is used.

    Returned Value

    Boolean value represents the success of the operation.

    See Also

    _file.unzip