MakeDirectory Method
Create a directory on an SFTP server.
Syntax
[VB.NET] Public Sub MakeDirectory(ByVal NewDir As String)
[C#] public void MakeDirectory(string newDir);
Remarks
A directory with path specified by NewDir is created on the SFTP server. NewDir 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 first.
NOTE: This method has a corresponding asynchronous version (MakeDirectoryAsync) for use in the Xamarin environment.