Skip to content

FTPDeleteStep

ClassAssetInventoryAssetInventory.Editor
public sealed class FTPDeleteStep : FTPActionStep

Automator action step that recursively deletes a configured remote directory over FTP or SFTP while preserving explicitly excluded relative paths.

public FTPDeleteStep()

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.