The /file/compress Robot
Transloadit can both archive and extract entire media libraries.
/file/compress Robot Creates archives of files or file conversion results.
||(required) String / Array of Strings||General
Specifies which Step(s) to use as the input to this Robot.
Special Step names
A special Step name is
Providing several Steps as input
You can also add arrays here to
This Robot allows you to bundle several Steps that are to be used as the input. The Robot would normally create one zip file for each Step you pass to it. If you set
See a demo for the
||The format of the archive to be created. Supported values are
||Determines if the result archive should also be gzipped. Gzip compression is only applied if you use the
||Determines how fiercly to try to compress the archive.
||Determines if the result archive should contain all files in one directory (value for this is
Example use cases
Our /file/compress Robot can be used in combination
with other Robots, to create powerful workflows unique to your use case.
Here are a few example scenarios, and the required the Assembly Instructions to implement them.
You can also try demos of these examples right here, live on our website.
Create a gzipped tar archive containing multiple result files
Create a Zip file for each uploaded file
Create a single Zip file containing all uploaded files
Related blog posts
Over the years we wrote the following posts about Our /file/compress robot on our blog:
- A Happy 2014 from Transloadit! January 14, 2014
- Create Zip and Tar Archives of Encoded Files September 4, 2013
Did you know?
You can easily combine Robots to create powerful workflows, unique to your business.
This is the power of Transloadit.