Zip Archive
This activity extracts files to the folder from chosen .zip file or compresses chosen file(s) to a contracted file(s).
Compression is possible in .zip and .7z formats, while compression with the division into parts only in .7z format. Compressed file can be closed with a password.
Wildcards (?, *) are allowed - you can use an asterisk (*) to replace any sequence of characters, so pattern “*.*” as a last element of file path in Source textbox means that all documents in a given folder will be zipped at once.
-
- Below: Action - Compression; Destination type - Folder.



-
- Below: Action - Compression; Destination type - File; Wizlink® creates file Jane_Austen_books.zip in the Zipped_Books folder.



-
- Below: Action - Extraction.



Properties
Parameter name | Parameter Type | In/Out | Description |
---|---|---|---|
Action | Dropdown | Input | select the action to perform from the dropdown list |
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Destination | String | Input | full path to the file |
Destination type | Dropdown | Input | select the appropriate option from the dropdown list |
DisplayName | Literal | Input | you can change the name of activity for greater clarity of the scenario |
Format | Dropdown | Input | select the appropriate option from the dropdown list |
Part size (MB) | Int32 | Input | integer; choose max size of every part of zipped file (compression with division) |
Password | String | Input | password (string expression) |
Source | String | Input | full path of the file |
Result | Boolean | Output | returns the Boolean value: it will return True if no error is in activity, otherwise it will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities |