Uncompress



Uncompress is a processor that extracts files from an archive in one of the following formats:


Any files that are not recognized as an archive are passed through the uncompress tool without change.

Keywords

Keywords can be used with the search function above the elements pane.

The keywords for the Uncompress element are:


Filenames and folder structure

The following table describes the resulting file or folder structure and the corresponding naming conventions.

Multiple files from the same archive are always placed in a job folder. If the intention is to inject these files into the flow as separate jobs, a job dismantler should be placed directly after the uncompress flow element.

Archive contents

Uncompress result

Single file

The file (named as specified in the archive)

Multiple files or folders with a common root folder

A job folder (named as the nearest common root folder) containing all files and folders (named as specified in the archive)

Multiple files or folders without a common root folder

A job folder (named as the archive after stripping the extension) containing all files and folders (named as specified in the archive)

Connections

Uncompress allows only a single outgoing connection

Properties

Property

Description

Name

The name of the flow element displayed in the canvas

Passwords

A list of passwords for opening password-protected archives; each of the passwords in the list will be tried in turn.

The script expression can be used to determine a password dynamically, for example based on the sender of the packed data

Remove redundant folders

If set to yes, for archives where the files or job folders are contained in deeply nested subfolder structures, removes all but the deepest subfolder level while uncompressing

Example: A PDF file that is compressed as "Folder 1\Folder 2\Folder 3\Test.pdf" is uncompressed as "\Folder3\Test.pdf" if this option is set to yes

Note: The Uncompress tool cannot read passwords which have been encrypted using the AES encryption. Switch uses zlib which does not support the AES encryption, therefore Switch cannot read passwords which use the AES encryption. As a workaround, users can try using a third party archiver as a command line application from Switch.