Delete a file

Delete a file

Input Parameters:
File Path - A relative path from the model directory to a file to be deleted. The path can also be supplied as an absolute path.

Rename or remove a file

Renames/Move a file

Input Parameters:
Source Path - A relative path from the model directory to a file to be renamed or moved. The path can also be supplied as an absolute path.
Target Path - A relative path from the model directory to a file to renamed or moved to. The path can also be supplied as an absolute path.

Copy a file

Copies a file. If destination already exists then it gets overridden.

Input Parameters:
Source Path - A relative path from the model directory to a file to be copied. The path can also be supplied as an absolute path.
Target Path - A relative path from the model directory to the file to be copied into. The path can also be supplied as an absolute path.
Overwrite - If there is and existing file, should it be overwritten?

List files

List the files in a directory and returns a list with the files objects.

Input Parameters:
Source Path - A relative path from the model directory to the directory to be listed. The path can also be supplied as an absolute path.

View file

Opens a file for viewing. It will be opened in the file’s default editor so if you open .xls file it will be opened in Excel. The best use of this operation is when you want to run a process, output the results into a file and then open that file automatically.

Input Parameters:
File Path - A relative path from the model directory to a file.

Execute command

Executes an external application or command.

Input Parameters:
Command - The command line of the application or command that you wish to execute.
Working Directory - An optional working directory from which the command will be executed.

Check if a file exists

Check if a file or directory exists.
This Operation can also be used as a container where its sub-steps execution is based on the returned condition being satisfied.

Input Parameters:
File Path - Full path to a file or directory.

Check if a file exists

Check if a file or directory is not found.
This Operation can also be used as a container where its sub-steps execution is based on the returned condition being satisfied.

Input Parameters:
File Path - Full path to a file or directory.

SFTP Key Initialisation

Sets the private key for subsequent SFTP operations.

Input parameters:
Key Path - Path to the private key file.
Passphrase - Optional passphrase necessary to access the key.

Zip File

Creates a reference to a zip file that can be used with other file operations.

Input parameters:
File Path - Path to the zip file.

Back to top

Version: 0.0.1-SNAPSHOT. Last Published: 2019-01-22.