Hello, the PutFile method makes it possible to specify the target name:
// connect to a server
var sftp = new Rebex.Net.Sftp();
sftp.Connect(hostname);
// verify server's fingerprint here
// authenticate
sftp.Login(username, password);
// upload a local file to server
sftp.PutFile(@"C:\MyData\file.txt", "/MyData/file.txt");