Altova FlowForce Server 2025 Advanced Edition

Uploads a file from a local directory to an SFTP server.

 

Parameters

Name

Type

Description

SFTP Connection

SFTP Connection

Mandatory parameter. This is a FlowForce object that establishes an SFTP connection. To get the SFTP connection object, call the /system/sftp/connect function first, in a separate execution step.

Source file

string as file

Mandatory parameter. Specifies the path of a local file to be uploaded.

 

If you use a relative path, it will be resolved against the path indicated in the Working directory parameter. If you use the full path, the path in the Working directory parameter will not be used.

Target file

string

Mandatory parameter. Specifies the path on the remote server to which the file will be uploaded.

 

If you specify a relative path, it will be resolved against the remote server's working directory set up for the connection user.

Overwrite target

boolean

Optional parameter. Set this parameter to true if you want to overwrite destination files with the same names. The default value is false.

Abort on error

boolean

Optional parameter. This parameter determines the outcome of a job in which an error has occurred. If the Abort on error parameter is true, job execution will be terminated. If the Abort on error parameter is false, FlowForce Server will ignore errors and continue job execution. The default value is true.

Working directory

string

Optional parameter. Specifies the local working directory from which a file will be uploaded to the SFTP server.

 

© 2018-2024 Altova GmbH