property OnRemoveFile: TScSFTPServerRemoveFileEvent;
The OnRemoveFile event occurs on request from an SFTP client to remove a file.
You can call the DefaultRemoveFile method to execute this operation or write your own implementation.
|•||Sender - the object whose event handler is called.|
|•||SFTPSessionInfo - contains the information about the current SFTP session.|
|•||FileName - specifies the name of the file to be removed. To get an absolute file path, use the GetFullPath method.|
|•||Error - a parameter to pass the information about an error that can arise when removing a file.|