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...
| variable | type | description |
|---|---|---|
| content | String | The base64 content of the zip file |
On Zip Error
Fires when the zip generation has any error
loading block...
| variable | type | description |
|---|---|---|
| message | String | The error message during zip generation |
Methods
Generate ZIP
generates zip file for the given files
loading block...
| Input Params | Type | Description |
|---|---|---|
| files | List | List 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 Params | Type | Description |
|---|---|---|
| name | String | The name of the file. You can specify folders in the name : the folder separator is a forward slash (“/”). |
| content | String | The 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. |