Run SFTP Commands

FtpExec32x32

Description

Runs a list of SFTP commands on the specified SFTP server.

You can enter the list of commands to be run in the code of the action, separated with line breaks.

Parameters

Name Mandatory Default Description

SFTP Trust Hosts

No

true

Accept all the hosts. If set to false, a list of trusted hosts is provided in the SFTP Known Hosts File.

SFTP Hostname

Yes

SFTP hostname or IP address.

SFTP Port

No

22

SFTP host port.

SFTP User

Yes

SFTP user.

SFTP Password

This user’s encrypted password.

SFTP Unencrypted Password

This user’s password in plain text.

SFTP Timeout

No

Timeout of the SFTP connection.

SFTP Known Hosts File

No

File containing the list of trusted hosts.

SFTP Private Key File

No

Full path to the Java Key Store to use when connecting to the server.

SFTP Password Phrase

No

Encrypted Password Phrase.

SFTP Uncrypted Phrase

No

Password Phrase in plain text.

Proxy Protocol

No

Protocol used for the proxy server: HTTP, SOCKS, SOCKS4 or SOCKS5.

Proxy Host

No

Host name for the proxy server.

Proxy Port

No

1080

Port of the proxy server.

Proxy User

No

Proxy server user.

Proxy Password

No

Proxy server user password, encrypted.

Proxy Unencrypted Password

No

Proxy server user password in plain text.

Passwords are encrypted using the encrypt <password> command on the Runtime engine console (engine command-line tool).

Published Variables

Name

Description

Command

DELETED_FILES_SIZE

Size of the deleted file

Delete

LISTED_FILES_NUMBER

Number of files listed

List

LISTED_FILES_SIZE

Size of files listed

List

APPEND_ADDED_FILE_SIZE

Size of the added data

Append

RETRIEVED_FILES_SIZE

Size of the file received

Get

STORED_FILES_SIZE

Size of the file sent

Put