DeleteFile Method
Remove a file specified by FileName from an SFTP server.
Syntax
sftpcontrol.DeleteFile FileName
Remarks
The remote file or directory specified by FileName is deleted. FileName is either an absolute path on the server, or a path relative to RemotePath.
If there is no SSH session in place, one is automatically created by the component first.