Full path: /system/sftp/move
Moves a file to the specified destination location on the SFTP server. This function returns true if the execution has been successful. Otherwise, the outcome depends on the Abort on error parameter (see below).
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 |
Mandatory parameter. The source path of the file that needs to be moved. |
Target file |
string |
Mandatory parameter. Destination path to which the specified file will be moved. |
Abort on error |
boolean |
Optional parameter. If job execution fails and the Abort on error parameter is set to true, the job execution will be aborted. The default value is true. |