Unzip Advanced
- Last Updated: November 30, 2023
- 1 minute read
- MOVEit Automation
- Version 2023.1
- Version 2023
- Documentation
Unzip Advanced unzips an single archive containing one or more files, with an optional ZIP password. It can work with archives that contain nested folders and can also handle the "bzip2" encryption type used by the WinZip 9.0 file compression utility.
If you need to decrypt entries in the zip file, use the Unzip Advanced script, instead of the setting Expand zip files (in Web Admin) or Expand compressed (zip) files ( Admin Console ) when defining a Source.
Input Parameters
- UnzipAdvanced_Password - Specifies an optional password to apply to the Zip file. Default value is blank, which indicates no decryption is to be done. Note: CAUTION: Using a password to protect a Zip archive is not usually enough protection to thwart a determined hacker.
Output Parameters
- ZipFileSize - Number of bytes in the zip file. This and other size parameters are populated whether or not the Zip file is successfully unzipped. If more than one zip file is encountered, this parameter contains only the size of the last zip file processed by this task run.
- ZipFileSizeKB - Number of kilobytes (KB) in the zip file.
- ZipFileSizeMB - Number of megabytes (MB) in the zip file.
- ZipFileSizeGB - Number of gigabytes (GB) in the zip file.
Notes
This built-in script must be run as a once-after-all-files process.
This built-in script cannot be run as the first step of a task.
The task's "Cache Files" option must be set to "Use Random Names".