The DELETE command is used to delete a directory or a file from the SFTP server.
Syntax:
Command | Keyword | Value | Developer notes |
DELETE | DIR | value | Conditional. Directory path. |
FILE | value | Conditional. File path. |
Example
DELETE DIR(/folder)
DELETE FILE(/folder/file.csv)