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