New Update:
- rename extension from
ZipPro
ToZipArchive
- rename some blocks
- solve bugs about progress event
- add new blocks
- remove some blocks
New Blocks Added:
Docs:
OnErrorOccurred
This event is triggered when an error occurs during an operation.
- error | text | the error that occurred during the operation.
- errorFrom | text | the source or origin of the error.
OnCanceled
This event is triggered when an operation is canceled.
- id | text | return the unique identifier that is you initialized it for the zip file.
SetAesVersion
Set the AES version for a specific compressed file.
- id | text | the unique identifier that is you set it for the zip file.
- aesVersion | number | aes version type
@aes versions types available: [ONE | TWO]
AES_VERSION_ONE
AES version one (AES-128).
AES_VERSION_TWO
AES version two (AES-256).
CreateSplitZipFromFile
Creates a split zip file from single file.
- id | text | the unique identifier that is you set it for the zip file.
- filePath | text | The path to the single file that will be used as the source for creating the split zip file.
- splitArchive | boolean | If true, the archive will be split; otherwise, it won't.
- splitLengthBytes | number | The maximum size, in bytes, for each split part of the archive.
SetFileNameInZip
Sets the specified file name within the zip archive, using it with CreateSplitZipFromFile block
- id | text | the unique identifier that is you set it for the zip file.
- fileNameInZip | text | The file name to be set within the zip archive.
ExcludeFiles
To exclude specific files from being added to a zip file
- id | text | the unique identifier that is you set it for the zip file.
- filesNames | list | A list of file names (as texts) to be excluded from the zip file.
CancelAllTasks
To control whether to cancel all tasks associated with a specific zip file.
- id | text
- cancelAllTasks | boolean | If cancelAllTasks is set to true, all ongoing tasks associated with the operation will be canceled.
IsCancelAllTasks
To query whether all tasks for a specific zip file are set to be canceled or not.
- id | text | the unique identifier that is you set it for the zip file.
Return type : boolean
Pause
To control whether ongoing tasks for a specific zip file should be paused.
- id | text | the unique identifier that is you set it for the zip file.
- pause | boolean | If pause is set to true, ongoing tasks will be paused; if set to false, they will continue.
IsPause
To query whether tasks for a specific zip file are set to be paused or not.
- id | text | the unique identifier that is you set it for the zip file.
Return type : boolean