RemoveDirectory Method
Remove a directory specified by DirName from an FTP server.
Syntax
[VB.NET] Public Sub RemoveDirectory(ByVal DirName As String)
[C#] public void RemoveDirectory(string dirName);
Remarks
This method is used to remove a directory with path specified by DirName from the FTP server. DirName is either an absolute path on the server, or a path relative to RemotePath. If there is no FTP session in place, one is automatically created by first calling the Logon method.
NOTE: This method has a corresponding asynchronous version (RemoveDirectoryAsync) for use in the Xamarin environment.