Skip to main content

Delete FTP File

Delete FTP File removes a remote file through an FTP Connection resource.

By default a missing file is not an error — the activity succeeds as a no-op. Select Fail If Missing to treat it as a failure instead.

The activity has four tabs: Configuration, Advanced, Input, and Output.

Configuration

FieldRequiredDescription
NameRequiredName of the step, unique within this workflow.
DescriptionOptionalDescribe the purpose of this step.
FTP ConnectionOptionalResource to connect to the FTP or FTPS server.
FTP Auth ContextOptionalAuthorization context used for the FTP connection.
DirectoryOptionalRemote directory the file is in.
File PathOptionalPath within the working directory.
File NameOptionalName of the file to delete.

Advanced

FieldRequiredDescription
Fail If MissingOptionalFail when the file does not exist; otherwise succeed as a no-op. Defaults to cleared.
RetryOptionalRetry the operation on failure.
Retry PolicyOptionalThe retry policy resource to apply.

Input

FieldRequiredDescription
InputsOptionalRuntime overrides of the path fields.

Output

The activity returns a deleteFileOutput object.

FieldData TypeDescription
deletedBooleanWhether the file was deleted.
filePathStringPath of the file targeted.
workingDirectoryStringDirectory the file was in.