This scenario creates a Job with a unique component. It aims at zipping files and recording them in the selected directory.
Drop the tFileArchive component from the Palette onto the workspace.
Double-click it to display its Component view.
In the Directory field, click the [...] button, browse your directory and select the directory or the file you want to compress.
Select the Subdirectories check box if you want to include the subfolders and their files in the archive.
Then, set the Archive file field, by filling the destination path and the name of your archive file.
Select the Create directory if not exists check box if you do not have a destination directory yet and you want to create it.
In the Compress level list, select the compression level you want to apply to your archive. In this example, we use the normal level.
Clear the All Files check box if you only want to zip specific files.
Add a row in the table by clicking the [+] button and click the name which appears. Between two star symbols (ie. *RG*), type part of the name of the file that you want to compress.
Press F6 to execute your Job.
The tFileArchive has compressed the selected file(s) and created the folder in the selected directory.