Description
Utility to work with unprotected and password protected ZIP files.
The runmode of this business object is “background”
1.1 Add File
Adds a single file to the Archive.
Parameter |
Direction |
Data Type |
Description |
Zip File Path |
In |
Text |
Path to the Zip archive |
File Path |
In |
Text |
File to add |
Entry Name |
In |
Text |
Optional. A path in the archive |
Password |
In |
Password |
Optional. Password to the Zip file |
1.2 Create TGZ Archive
Creates tar.gz (tgz) Archive from Directory.
Parameter |
Direction |
Data Type |
Description |
Directory Path |
In |
Text |
Source directry path |
TGZ File Path |
In |
Text |
Target tar.gz file path |
1.3 Create Zip Archive
Creates Zip Archive from Directory.
Parameter |
Direction |
Data Type |
Description |
Directory Path |
In |
Text |
Source directory path |
Zip File Path |
In |
Text |
Target zip file path |
Password |
In |
Password |
Optional. Password to the Zip file |
1.4 Delete File
Deletes a single file from the Archive.
Parameter |
Direction |
Data Type |
Description |
Zip File Path |
In |
Text |
Path to the Zip archive |
Entry Name |
In |
Text |
Path to the entry |
1.5 Extract All
Extracts all data from the Archive (zip, tar, gz, tgz, tar.gz).
Parameter |
Direction |
Data Type |
Description |
Source File Path |
In |
Text |
Path to the archive (zip, tgz, gz, tar, tar.gz) |
DirectoryPath |
In |
Text |
Destination directory |
Password |
In |
Password |
Optional. Password to the Zip file |
1.6 Extract File
Extracts a single file from the Archive.
Parameter |
Direction |
Data Type |
Description |
Zip File Path |
In |
Text |
Path to the Zip Archive |
Entry Name |
In |
Text |
Path to the entry inside the Archive |
Taget File Path |
In |
Text |
Extracted file’s destination path |
Password |
In |
Password |
Optional. Password to the Zip file |
1.7 Find File
Checks if file exists in the Archive.
Parameter |
Direction |
Data Type |
Description |
Zip File Path |
In |
Text |
Path to the Zip archive |
Entry Name |
In |
Text |
Path to the entry |
Found |
Out |
Flag |
True if the file exists in the Zip Archive file, otherwise False |
1.8 Get Contents
Reads the contents (filenames) of ZIP archive
Parameter |
Direction |
Data Type |
Description |
Zip File Path |
In |
Text |
Path to the Zip archive |
Contents |
Out |
Collection |
The files in the Zip Archive |