I'm trying to do a simple connect to SFTP and upload a file. However it always fails on the Connect() with the error 'Session operation has timed out.' It does appear to have gotten past the login/authentication because I get a different error message if I purposely use an incorrect user/passsword. The SFTP connection does work with another client (filezilla and putty).
The code (below) is trivial so I'm not sure what needs to be added/changed.
SftpClient c = new SftpClient(sHost,iPort, sUser, sPass);
c.Connect();
Any ideas?
-Tim
The code (below) is trivial so I'm not sure what needs to be added/changed.
SftpClient c = new SftpClient(sHost,iPort, sUser, sPass);
c.Connect();
Any ideas?
-Tim