Please enable JavaScript to view this site.

Altova FlowForce Server 2022 Advanced Edition

Full path: /system/sftp/store

 

Uploads a file to an SFTP Server.

 

This function returns Boolean true if execution was successful. Otherwise, the outcome depends on the Abort on error parameter, as further described below.

 

 

Parameters

Name

Type

Description

SFTP Connection

SFTP Connection

A FlowForce object that provides the SFTP connection. To obtain the SFTP connection object, call the /system/sftp/connect function first, in a separate execution step.

 

Mandatory parameter.

Source file

string as file

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

Target file

string

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

Overwrite target

boolean

Optional parameter. Select this check box if a file with the same name should be overwritten at destination. The default value is false.

Abort on error

boolean

This Boolean parameter determines what should be the return value of the function if execution fails. If this parameter is false, the function will return Boolean false as well. If this parameter is true, the job execution is aborted. The default value is true.

Working directory

string

Specifies the working directory against which all local relative paths will be resolved.

 

© 2015-2021 Altova GmbH