list-files
Full path: /system/sftp/list-files
If the execution has been successful, the list-files function returns a list of strings with file names that match the specified wildcard. Otherwise, the outcome depends on the Abort on error parameter (see 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 to match. |
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. |