Utilities

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_arch2
zip_arch3
    • Below: Action - Compression; Destination type - File; Wizlink® creates file Jane_Austen_books.zip in the Zipped_Books folder.
zip_arch4
zip_arch5
zip_arch6
    • Below: Action - Extraction.
zip_arch7
zip_arch8
zip_arch9

Properties

Parameter nameParameter TypeIn/OutDescription
ActionDropdownInputselect the action to perform from the dropdown list
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DestinationStringInputfull path to the file
Destination typeDropdownInputselect the appropriate option from the dropdown list
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
FormatDropdownInputselect the appropriate option from the dropdown list
Part size (MB)Int32Inputinteger; choose max size of every part of zipped file (compression with division)
PasswordStringInputpassword (string expression)
SourceStringInputfull path of the file
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult 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