Hello,
It is easy to move files since the release 2012 R1. Use the Upload method in combination with
TransferMethod.Move mode to achieve the move funcionality like this:
string serverName = "server";
string userName = "username";
string password = "password";
Sftp sftp = new Sftp();
sftp.Connect(serverName);
sftp.Login(userName, password);
// moves the directory data to the SFTP server 'remotePath'
sftp.Upload(@"C:\data", "/remotePath", 0, TransferMethod.Move, 0 );
sftp.Disconnect();
This will copy the directory 'data' to SFTP server and delete the local directory 'data'.