zip
This block is part of the zip group and was last modified in core v14.0.2.
zip v14.0.2 zips the given files
- flow
flow - file required
fileThe files to be zipped. The file names should not contain any special characters except . - or _
- flow
flow - success
condition - error
value - file
file
Packs every file from the file pin into one new ZIP in the entity temp folder, stored by basename only (directory paths are junked), and outputs a one-element file array describing the archive. An empty or unwired file pin is success=true with an empty file array : not an error. Fails with error INVALID_FILES (entry not an object or bad path), NON_EXISTING_FILES (a source missing on disk), FILE_PATH_NOT_CONFIGURED, COULD_NOT_CREATE_TEMP_FOLDER, or ERROR_DURING_ZIP; on those, file is nil.
A typical wiring for zip: a function trigger starts the flow; get file from assets feeds the file pin; the flow out pin feeds debug.

Version history
Introduced in v14.0.2.
Back to
zip Return to the main group to view all sub-groups Back to zip Return to the group to view all blocks within this group
