You can compress multiple files with Amazon Web Services (AWS) S3Zipper.
Warning
Celigo has not verified, used, or endorsed the S3Zipper tool. Use it at your own cost and risk.
Create a flow to zip and upload a file to an FTP server.
-
HTTP connection to Amazon S3Zipper
-
Base URI: https://api.s3zipper.com/
-
Import (transfer) your files to Amazon S3.
-
Generate files from records: No.
-
Region: The default Amazon S3 region is [us-east-1]. To change the region, select the region for this S3 account.
-
Bucket name (required): Name of the bucket in S3, where you want the file to be saved.
-
File key (required): Add handlebars for each filename . For example, {{record.files.*.fileName}}
Note: Do not substitute the fileName with your filename; it will be dynamically created by the handlebars expression.
-
Advanced:
Import (transfer) your file to Amazon S3Zipper (HTTP) and store the zipped file in your S3 account. In your import:
-
Generate a file from your record: No.
-
HTTP method (required): POST
-
Relative URI (required): /v2/zipstart
-
HTTP request body:
[ {"name" : "awsKey", "value" : "********"}, {"name" : "awsSecret", "value" : "*********"}, {"name" : "awsBucket", "value" : "directoryPath"}, {"name" : "awsRegion", "value" : "us-east-1"}, {"name" : "filePaths", "value" : "directoryPath/{{record.files.0.fileName}}"}, {"name" : "filePaths", "value" : "directoryPath/{{record.files.1.fileName}}"}, {"name" : "filePaths", "value" : "directoryPath/{{record.files.2.fileName}}"}, {"name" : "filePaths", "value" : "directoryPath/{{record.files.3.fileName}}"}, {"name" : "zipTo", "value" : "directoryPath"}, {"name" : "zipFileName", "value" : "{{record.files.4.fileName}}.zip"} ]