# Compress files

The Compress files action allows you to compress multiple files into one zip or gzip file. You can use source files from any application, such as Amazon S3, Dropbox, or Salesforce.

COMPATIBILITY

Ensure all files have unique names because the action does not support duplicates.

Compress files

# Input fields

The input configuration contains the compression preferences and the files to compress.

Field Description
Compression format Choose either zip or gzip.
Archive format Choose whether to archive the files using the tar format.
This option is only available when using gzip as the compression format.
Password Secure the compressed file with a password.
This option is only available when using zip as the compression format.
File list Add files to compress into this list.

# Output fields

Field Description
Compressed file contents Contains the compressed file contents in the specified format.

# Example: Compress all files in a folder

The following sample recipe (opens new window) downloads files from Amazon S3 and Dropbox, compresses them into a single zip format, and then sends the compressed file as an email attachment.

Compress files in SFTP directory


Last updated: 5/7/2024, 9:57:22 PM