Applies to: Lasernet Core 10
The Compression Engine/Modifier is used for decompressing and compressing ZIP archives stored in JobData.
The engine is able to both decompress and compress. It is used when you have a ZIP archive containing more than one file for which you wish to generate jobs.
The engine is also used when you have multiple Jobs which you wish to ZIP into one archive.
Properties
A range of properties can be set to control the resulting ZIP archive.
| Password | If ZIP archive must be encrypted, a password is required. |
| Encryption key length | Length of the encryption key. |
| Self-extracting archive | Lasernet Core generates a self-extracting executable rather than a ZIP archive. Extension of the file will be set to “.exe”. |
| Compression level | The higher the value, the smaller is the ZIP file. Higher values take a longer time, but should not be set lower unless a real performance problem exists. Can be overruled at runtime via JobInfo CompressionLevel. |
| Filename JobInfo | Name of file for ZIP archive. |
JobInfo FullFilename must be specified. Paths are supported, excluding the drive letter.
Decompress
All files in the ZIP archive are extracted to individual jobs. Password-protected archives are supported.
A range of JobInfos are set on the created Jobs mimicking a File Input module:
ArchiveFilename
CompressionLevel
FileLastModified
Filepath
Filename
FullFilename
Filesize
FilesizeCompressed
Extension
FilenameWithoutExt
Combining
Select the Combining tab and activate Enable Job combining to embed multiple jobs into a ZIP container. For more information about combiner settings, see Combining Jobs.