Frends.SFTP.DeleteFiles / 3.0.0
Summary
Deletes files from an SFTP server, chosen by pattern within a directory or by explicit paths, and reports what went.
Typical use — cleaning up a partner's drop directory after collecting from it
Input parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Directory | String |
/ |
/destination |
Full path of the target file to be deleted. |
| FileMask | String |
– | *.txt |
Pattern to match (Optional). |
| FilePaths | Object |
– | #trigger.data.filePaths |
The paths to the files to be deleted, mainly meant to be used with the file trigger with the syntax: #trigger.data.filePaths |
| FileEncoding | FileEncoding |
ANSI |
FileEncoding.ANSI |
If set, this ecoding will be used to encode and decode command parameters and server responses, such as file names. By selecting 'Other' you can use any encoding. Possible values:
|
| EnableBom | Boolean |
False |
true |
Additional option for UTF-8 encoding to enable bom. |
| EncodingInString | String |
– | utf-8 |
File encoding to be used. Encoding don't support any unicode encoding. It only support the code page encodings. A partial list of possible encodings: https://en.wikipedia.org/wiki/Windows_code_page#List. |