[PAID] 📦ZipPro || Zip Archive Manager

New Update:

  • rename extension from ZipPro To ZipArchive
  • rename some blocks
  • solve bugs about progress event
  • add new blocks
  • remove some blocks

New Blocks Added:

Docs:


blocks(5)

OnErrorOccurred

This event is triggered when an error occurs during an operation.
Params

- error | text | the error that occurred during the operation.

- errorFrom | text | the source or origin of the error.


blocks(6)

OnCanceled

This event is triggered when an operation is canceled.
Params

- id | text | return the unique identifier that is you initialized it for the zip file.


blocks(7)

SetAesVersion

Set the AES version for a specific compressed file.
Params

- 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]

  • blocks(8)

AES_VERSION_ONE

AES version one (AES-128).
  • blocks(9)

AES_VERSION_TWO

AES version two (AES-256).


CreateSplitZipFromFile

Creates a split zip file from single file.
Params

- 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.


blocks(15)

SetFileNameInZip

Sets the specified file name within the zip archive, using it with CreateSplitZipFromFile block
Params

- 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.


blocks(14)

ExcludeFiles

To exclude specific files from being added to a zip file
Params

- 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.


blocks(13)

CancelAllTasks

To control whether to cancel all tasks associated with a specific zip file.
Params

- id | text

- cancelAllTasks | boolean | If cancelAllTasks is set to true, all ongoing tasks associated with the operation will be canceled.


blocks(12)

IsCancelAllTasks

To query whether all tasks for a specific zip file are set to be canceled or not.
Params

- id | text | the unique identifier that is you set it for the zip file.

Return type : boolean


blocks(11)

Pause

To control whether ongoing tasks for a specific zip file should be paused.
Params

- 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.


blocks

IsPause

To query whether tasks for a specific zip file are set to be paused or not.
Params

- id | text | the unique identifier that is you set it for the zip file.

Return type : boolean


Tutorial:

2 Likes