Zip operations
Last updated
Last updated
Zips all files and subfolders in a folder into a zip file.
Simple value, 'True' if operation was successfully. 'False' otherwise.
6.3
Compresses a single file and adds it to a zip file.
Simple value, 'True' if operation was successfully. 'False' otherwise.
6.3
Compresses the content of a Flow variable that contains a binary stream. This can for instance be used to compress data from a camera input.
Simple value, 'True' if operation was successfully. 'False' otherwise.
6.3
Extracts a single file to a stream. The entire file will be loaded into memory, so do not use this operation with large files.
Simple value, read-only binary stream trinket.
6.3
Extracts all files from a zip file which matches provided mask.
Simple value, 'True' if operation was successfully. 'False' otherwise.
6.3
Parameter
Description
Path
Path to read files and folders from.
Path to zip file
Zip file to add folder content to.
Password
Optional password to the zip file.
Replace mode
Specifies what to do if a specific file already exists in the archive.
Compression level
Specifies the level of compression, valid values are 1-9 where 9 indicates highest level of compression (and slowest). Default value is 6.
Parameter
Description
File
File to add to archive.
Path to zip file
Zip file to add file to.
Password
Optional password to the zip file.
Replace mode
Specifies what to do if a specific file already exists in the archive.
Compression level
Specifies the level of compression, valid values are 1-9 where 9 indicates highest level of compression (and slowest). Default value is 6.
Parameter
Description
Stream
Stream to read data from.
Filename for stream in zip file
The name of the file in the archive the content of the stream should be written to.
Path to zip file
Zip file to add stream content to.
Password
Optional password to the zip file.
Replace mode
Specifies what to do if a specific file already exists in the archive.
Compression level
Specifies the level of compression, valid values are 1-9 where 9 indicates highest level of compression (and slowest). Default value is 6.
Parameter
Description
Path to zip file
Zip file to extract from.
Filename
The name of the file in the archive to extract.
Password
Optional password to the zip file.
Parameter
Description
Path to zip file
Zip file to extract from.
Destination path
Path where to extract files to. If file or directory already exists at destination path, it is skipped (not overwritten). The directory should exist before this operation is called.
Filter
Filet to use when filtering items in archive. Example "*.txt".
Password
Optional password to the zip file.