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
| Field | Required | Description |
|---|---|---|
| Name | Required | Name of the step, unique within this workflow. |
| Description | Optional | Describe the purpose of this step. |
| FTP Connection | Optional | Resource to connect to the FTP or FTPS server. |
| FTP Auth Context | Optional | Authorization context used for the FTP connection. |
| Directory | Optional | Remote directory the file is in. |
| File Path | Optional | Path within the working directory. |
| File Name | Optional | Name of the file to delete. |
Advanced
| Field | Required | Description |
|---|---|---|
| Fail If Missing | Optional | Fail when the file does not exist; otherwise succeed as a no-op. Defaults to cleared. |
| Retry | Optional | Retry the operation on failure. |
| Retry Policy | Optional | The retry policy resource to apply. |
Input
| Field | Required | Description |
|---|---|---|
| Inputs | Optional | Runtime overrides of the path fields. |
Output
The activity returns a deleteFileOutput object.
| Field | Data Type | Description |
|---|---|---|
| deleted | Boolean | Whether the file was deleted. |
| filePath | String | Path of the file targeted. |
| workingDirectory | String | Directory the file was in. |