Creating a remote directory

Top  Previous  Next

You can create a remote directory on the server using the Sftp.MakeDir method. The directory created is relative to your current remote directory.

 

Examples

 

[C#]

 

// create remote directory named testsftp

sftp.MakeDir("testsftp");

 

[VB]

 

' create remote directory named testsftp

sftp.MakeDir("testsftp")

 

 

 

See also

 

Setting your remote directory