Command

Description

The Command can create connections to execute shell commands to create directories, delete directories, copy to a remote directory, copy on a local directory or copy from a remote directory to an other remote directory.

Names

Short

filecommand

Full

Command

Input parameters

Parameter Description

mode

The mode defines the actual action. Supported actions are: "MAKE_DIRECTORY", "REMOVE_DIRECTORY", "COPY_TO_REMOTE", "COPY_TO_LOCAL" or "REMOTE_TO_REMOTE".

type

This defines the connection type. Supported connection types are: "FTP", "FTPS" and "SFTP". In case there is no connection type set, then Command will try to work on the local machine.

typeExternal

This defines the connection type on your remote machine.

sourceUser

The user on the source system.

targetUser

The user on the target system.

sourcePassword

The password of the source system user.

targetPassword

The password of the target system user.

useEncryptedPassword

Shows if the given password has to be decrypted. Default: true

sourceHost

The address of the source system.

targetHost

The address of the target system.

sourcePort

The port of the source system.

targetPort

The port of the target system.

sourceDir

The source directory.

targetDir

The target directory.

Output parameters

Parameter Description

return code

Return code of the program.