FTPDeleteStep
public sealed class FTPDeleteStep : FTPActionStepAutomator action step that recursively deletes a configured remote directory over FTP or SFTP while preserving explicitly excluded relative paths.
Constructors
Section titled “Constructors”
FTPDeleteStep()
Section titled “FTPDeleteStep()”public FTPDeleteStep()Methods
Section titled “Methods”
Run(List)
Section titled “Run(List)”public override Task Run(List<ParameterValue> parameters)Connects to the configured FTP or SFTP server and starts deletion of the target directory, excluding any relative paths supplied by the action.
Parameters
| Name | Type | Description |
|---|---|---|
parameters |
System.Collections.Generic.List{Automator.ParameterValue} | Ordered action values for the saved connection, remote target directory, and optional comma-separated exclusion paths. |
Returns
System.Threading.Tasks.Task: A task that completes after the server deletion finishes, or faults when validation, connection, or a remote file operation fails.