Skip to main content

Zip Tools

Overview​

A non visible component to work with zip files

Blocks​

Events​

On Zip Generated​

Fires when the zip is generated successfully; Gives base64 content of zip

loading block...

variabletypedescription
contentStringThe base64 content of the zip file

On Zip Error​

Fires when the zip generation has any error

loading block...

variabletypedescription
messageStringThe error message during zip generation

Methods​

Generate ZIP​

generates zip file for the given files

loading block...

Input ParamsTypeDescription
filesListList of files created by the Create File block.

Create File​

Returns: Dictionary

creates the file object from the given data. The content should be base64 encoded data.

loading block...

Input ParamsTypeDescription
nameStringThe name of the file. You can specify folders in the name : the folder separator is a forward slash (“/”).
contentStringThe content of the file. Which should be encoded in base64. You can use Base64 Encode block in Cryptography component to encode the content of file.