Delete file on server
Deletes one file on an SFTP or FTPS server.
@lainstack/file-server/delete-file · Object storage
How to use it
Section titled “How to use it”Use Delete file on server to remove one file from an SFTP or FTPS server, for example after it was read and processed. Deleting cannot be undone.
Good to know:
- File path is exact, relative to the connection’s root folder. It deletes one file, never a folder or a pattern.
- A missing file fails the step.
- If the connection drops during the delete, the step fails with an unknown outcome. The file may or may not be gone, so check the server before running it again.
- Run it after the blocks that depend on the file have succeeded, or the content is lost. Use Move file on server to keep a copy on the server instead.
Settings
Section titled “Settings”| Setting | Key | Type | Details |
|---|---|---|---|
| SFTP or FTPS connection (required) | credentialId |
Connection | Uses the selected SFTP or FTPS connection. At most 255 characters. |
| File path (required) | path |
Text | Path relative to the connection’s root folder. |
Outputs
Section titled “Outputs”| Output | Path | Type |
|---|---|---|
| File path | path |
Text |