Zip File
Purpose
Compresses (Zips) one or more files. A static filename, filename variable or wildcards can be used to select files to be zipped. Compressed files can be encrypted using an optional password.
The node will produce a standard zip node that can be unzipped using 7zip, Winzip or using the Windows Explorer.
Configuration
Filename
The filename is the name of the file(s) that will be compressed. You can use various wildcards such as * and ?. If the wildcard pattern results in multiple matching file then each file will be zipped in a separate file.
Wildcards
Standard * and ? wildcards are fully supported allowing you to copy all files matching a particular wildcard pattern.
The node can also use more advanced wildcards such as those based around ranges: […]
Wildcard | Description | Example | Matches | Does not match |
---|---|---|---|---|
* | matches any number of characters | myfile.txt | myfile.txt or myfile.csv | myfile1.txt |
? | matches a single character | myfile?.txt | myfile1.txt | myfile22.txt |
[abc] | matches one of the characters provided | [pf]ile.txt | file.txt, pile.txt | mile.txt |
[a-z] | matches one character from the range provided | myfile[0-9].txt | myfile1.txt, myfile2.txt | myfile10.txt |
Additionally you can use the ! character to apply ‘not’ logic
Wildcard | Description | Example | Matches | Does not match |
---|---|---|---|---|
[!abc] | matches one of the characters NOT provided | [pf]ile.txt | mile.txt | file.txt |
[!a-z] | matches one character NOT from the range provided | myfile[0-9].txt | myfilea.txt, myfile22.txt | myfile1.txt |
Path
This is the path to the directory where the files are stored in the paygate environment.
Encrypt Zip File
Determines if the resulting zip files are encrypted and require a password to uncompress. If enabled a password is required.
Encryption algorithm
The Zip File node uses 256bit AES to encrypt password protected zip files.