Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: SftpClient.Connect - Session operation has timed out.

$
0
0
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

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>