Compress/Zip Files

Compresses files and folders into a zip archive.

Behaviour

Risk: Low · Idempotent: No · Safe to retry: No · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.compressFiles

Properties#

Input#

Content To Archive#

ContentToArchive · Object · Required · Default: Not specified in package metadata

A file or folder path, or a collection of them.

Compressed File Name#

CompressedFileName · String · Required · Default: Not specified in package metadata

The full path of the zip archive to write.

Compression Level#

CompressionLevel · String · Optional · Default: Optimal

Optimal, Fastest, NoCompression or SmallestSize.

Allowed values: Optimal, Fastest, NoCompression, SmallestSize.

If Exists#

IfExists · String · Optional · Default: Fail

When the archive is already there: Fail, Overwrite it, or Append to it (entries with the same name are replaced).

Allowed values: Fail, Overwrite, Append.

Output#

Archive Path#

ArchivePath · String · Output

The full path of the archive that was written.

Retry and risk#

This activity is not marked safe to retry: if it fails partway, check whether its work already happened before running it again. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: File System. Keywords: zip, compress, archive, pack, files, folder.

Properties

Input

Output

Retry and risk

Related activities