Deletes directory on the server.
[Visual Basic]
Overloads Public Sub RemoveDir()
[C#]
public void RemoveDir();
Remarks
This method will remove directory on remote server, if possible. Once completed, Done event will be fired. If no error occurs, Errpr argument in Done event will be set to
null. If error occurred, Error will contain description for the error.
If remote directory contains file or subdirectories - it's possible (and most common behavior) that you will be unable to remove it. This depends on implementation of this command on server side.
No wildcards can be used for RemotePath argument. RFC protocol specification for SFTP does not allow them.
See Also
SFTP Class | SFTP Members | WeOnlyDo.Client Namespace | SFTP.RemoveDir Overload List