Full path: /system/sftp/delete
Deletes a file from the SFTP Server.
This function returns Boolean true if the execution has been successful. Otherwise, the outcome depends on the Abort on error parameter, as further described below.
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. |
Target file |
string |
The file to delete. |
Abort on error |
boolean |
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. |