Hi,
I do not know what is 'xxx' is this the filename?
If xxx is a file name, you will need this code to upload it:
sftp.Upload(@"C:\filename.txt", "/root/");
or even simpler method (if you only upload single file):
sftp.PutFile(@"C:\filename.txt", "/root/file.txt");
Does it help?