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.
![zip_arch1 zip_arch1](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch1.jpg)
![zip_arch2 zip_arch2](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch2.jpg)
![zip_arch3 zip_arch3](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch3.jpg)
-
- Below: Action - Compression; Destination type - File; Wizlink® creates file Jane_Austen_books.zip in the Zipped_Books folder.
![zip_arch4 zip_arch4](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch4-145x300.jpg)
![zip_arch5 zip_arch5](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch5.jpg)
![zip_arch6 zip_arch6](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch6.jpg)
-
- Below: Action - Extraction.
![zip_arch7 zip_arch7](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch7.jpg)
![zip_arch8 zip_arch8](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch8.jpg)
![zip_arch9 zip_arch9](https://docs-1-4.wizlink.eu/wp-content/uploads/2022/05/zip_arch9.jpg)
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 |