About: This article introduces the Zip node, a Special node within Construct.
Location: Node panel
Table of Contents
Feature Overview
The Zip node is used to compress or uncompress files using the ZIP format. It is a standalone node that does not have data flowing into or out of it. Instead, it can be queued to run at any point during a job using the Set Run Order tool.
Compressing Files
To create a compressed file:
- Select the Create Compressed File option.
- Select a destination location for the compressed file you want to create by clicking the ellipsis [...] next to Compressed File Name. Then name the new zipped file you are about to create.
- In the Compress Files section of the node, select the ellipsis [...] next to Folder. Browse to the location of the file(s) you want to zip together.
- To zip a single file, simply enter the name of the file in the File field. To zip multiple files, select the Use File Pattern option. Then, in the File Name Pattern field, enter the names of the files you want to zip together, separated by a semicolon.
Note:
- Do not add spaces between the multiple files which are delimited by semicolons.
- A wildcard [*] symbol can be used to select all files within the selected folder. For example, if you wanted to select all .csv files, your File Name Pattern would look like this: *.csv
- If you wanted to select all .csv files and a specific Excel file, your File Name Pattern would look like this: *.csv;examplefilename.xlsx
Uncompressing Files
To uncompress a file:
- Select the Uncompress File option.
- In the Compressed File Name field, use the ellipsis [...] to identify the location of the folder that you wish you uncompress.
- In the Uncompress To field, use the ellipsis [...] to identify the location you wish to place the files that are being uncompressed.
Video Tutorial
Comments
0 comments
Article is closed for comments.