Altova FlowForce Server 2025 Advanced Edition

Uploads files from a local directory to an SFTP server if the files match the specified wildcard (e.g., *.xml). If execution is successful, the function returns the list of files uploaded to the SFTP server. Otherwise, the outcome depends on the Abort on error parameter (see details below).

 

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.

Wildcard

string

Mandatory parameter. Specifies a wildcard, for example, *.xml. Files matching the wildcard will be uploaded to the SFTP server. See also Wildcards in SFTP functions.

 

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 directory

string

Mandatory parameter. Specifies the directory name on the remote system to which files 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 files will be uploaded to the SFTP server.

 

© 2018-2024 Altova GmbH