Create Zip From Directory Activity

Description

The Create Zip From Directory activity creates a zip archive that contains the files and directories from the specified directory.

Usage

A workflow could use the Create Zip From Directory activity to zip multiple files into a single .zip file archive.

Inputs

Source Directory

Required

Type: String

The path to the directory to be archived.

Destination Zip File

Required

Type: "ASCII" | "Unicode" | "utf-7" | "utf-8" | "utf-16" | "utf-16BE" | "utf-32" | String

The path of the zip archive to be created.

Include Source Directory Name

Optional

Type: Boolean

If true, the source directory name will be included as a top-level directory within the zip archive. Otherwise, only the contents of the source directory will be included. The default is false.

Outputs

This activity has no outputs.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.