Full path: /system/sftp/store-wildcard
Uploads to the SFTP server files from a local directory, if they match a wildcard, for example, *.xml.
This function returns a list of strings with the uploaded local file names, 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. |
Wildcard |
string |
Mandatory parameter. Specifies a wildcard, for example, *.xml. Any files matching the wildcard will be deleted. |
Target directory |
string |
Mandatory parameter. Specifies the directory name on the remote system to which files should be uploaded. See also Wildcards in SFTP functions. |
Overwrite target |
boolean |
Optional parameter. Select this check box if files with the same name should be overwritten at destination. The default value is false. |
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. |
Working directory |
string |
Specifies the local directory from which files will be uploaded. |