How To Use Zip Pro Extension

This a guide for all koders who is using zip pro extension by @mahmoud_hooda that is me :sweat_smile:

Request Permissions

I am using ListPermision Extension, you can use AskForPermssion block from screen.

blocks

Initialize id just for test

blocks(2)

Initialize Zip File

now init zip file [destination folder + zip file name]
blocks(3)
Note: if destination folder not exist you will get error.
if zip file not exist extension will make this zip file.

Compression Setting

Compression Methoud:

Read More About Compression Method

Compression Level:

Read More About Compression Level

Encryption Setting To Set Password

Encryption Methoud:

Set Aes Version [One, Two]: :new:

blocks(2)

Aes Key Strenght:

must set encryption methoud = [AES] to use this block.
blocks(2)

Checks if the specified zip archive is password-protected.

blocks(2)

If the specified zip is password-protected = true then you must set password by this blocks to add or remove or create or do any thing in specified zip.
If the specified zip is password-protected = false and you wanna set password to it, then you must using [SetEncryptFiles] block = true to set password

Set Password:

blocks(3)

Use UTF-8 charset:

blocks(23)


Add Entry

Add File:

blocks(4)

Add Files List:

blocks(5)

Exclude Files: :new:

using it with [AddFolder] block to exclude files in folder from ziping
blocks(5)

Add Folder:

blocks(6)


Extract Entry

Extract All Files And Folders:

blocks(7)

Extract File or Folder:

blocks(8)
Note : if newFileOrFolderName is empty that is mean will extract file or folder with same name[Default]


Remove Entry

Delete File:

blocks(9)

Delete Files List:

blocks(10)


Rename Entry

Rename File:

blocks(11)

Rename Files List:

blocks(12)


Split Zip File

Split Zip File + Add Files:

blocks(17)

Split Zip File + Add Folder:

Split Zip File + Add File: :new:

Set File Name In Zip: :new:

must use it with [CreateSplitZipFromFile] block
blocks(1)


Merge Zip File:

blocks(20)


Comment

Set Comment:

blocks(21)

Get Comment:

blocks(22)


Is Cancel All Tasks: :new:

blocks(7)

Cancel All Tasks: :new:

blocks(6)

Is Pause: :new:

blocks(9)

Pause: :new:

true to pause , false to resume
blocks(8)


Events

On Start Event:

blocks(13)

On Progress Event:

blocks(14)

On Failed Event:

blocks(15)

On Finishe Event:

blocks(16)

On Error Occurred Event: :new:

blocks

On Canceled Event: :new:

blocks(1)


If you have any question, feel free to ask :smiling_face_with_three_hearts:

3 Likes

New Blocks:

1 Like