MakeDirectory Method
Create a directory on an FTP server.
Syntax
[VB.NET] Public Sub MakeDirectory(ByVal NewDir As String)
[C#] public void MakeDirectory(string newDir);
Remarks
This method is used to create a directory with path specified by NewDir on the FTP server. NewDir 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 that when MakeDirectory is called, RemoteFile is changed to NewDir.