Zip Component
Provides utility methods for working with zip files
Component key: zipDescription
The Zip component helps with handling and manipulating .zip
files.
Actions
Compress Gzip
Compress Gzip file | key: compressGzip
Decompress Gzip
Decompress Gzip file | key: decompressGzip
Unzip
Decompress a Zip file | key: unzip
Example Payload for Unzip
{
"data": [
{
"name": "filename.txt",
"data": {
"data": {
"type": "Buffer",
"data": [
104,
101,
108,
108,
111
]
},
"contentType": "text/plain"
},
"path": "path/"
}
]
}
Zip
Compress a Zip file | key: zip
Collection Tools has useful utilities for building up data to provide to the Zip action.
Example Payload for Zip
{
"data": {
"type": "Buffer",
"data": [
104,
101,
108,
108,
111
]
},
"contentType": "application/zip"
}