ZIP/UnZIP
The Zip/UnZip integration component provides a simple yet powerful way to extract files from an archive or create a new archive for distribution.
Triggers
This component has no trigger functions. This means it will not be accessible to select as a first component during the integration flow design.
Actions
Zip
This action will archive any provided files.
When you execute this action, it will archive all provided files.
The process works by iterating through each of the body files.
For each file, if the path matches the configured regex, the file will be downloaded from the provided URL and appended to the ZIP file using the provided path as the location and name of the file.
The output will include an attachment that contains a URL to the archive.
- 1 regex
-
The regular expression for filename matching (with extension). Only files that match this regex will be added to the archive. The default is match all
'[^]*'
. - 2 httpTimeout
-
The number of milliseconds for HTTP request timeouts. The default is
60000
milliseconds(60 sec). - 3 httpRetry
-
The number of retries for HTTP requests. The default is
3
. - 4 zipName
-
The output archive filename with extension. By default generate UUID name with
.zip
extension.
UnZIP action
This action will unzip the provided archive file.
Only files that match the configured regex and with uncompressed size less than the maxFileSize
setting will be unzipped:
- 1 regex
-
The regular expression for filename matching (with the extension). Only files that match the regex will be unzipped. The default is match all
'[^]*'
. - 2 maxFileSize
-
The default value for the number of bytes is 104857600 bytes (100MB). This is the maximum file size and any files with a larger uncompressed size will not be unzipped.
- 3 httpTimeout
-
The number of milliseconds for HTTP request timeouts. The default is
60000
milliseconds(60 sec). - 4 httpRetry
-
The number of retries for HTTP requests. The default is
3
.