Rebex.Net.SftpException The operation was not completed within the specified time limit

0 votes
asked Jan 20, 2011 by Danielle (120 points)
edited Apr 1, 2011

My service runs into this error when trying to connect to a ftp server:

Rebex.Net.SftpException: The operation was not completed within the specified time limit. ---> Rebex.Net.SshException: The operation was not completed within the specified time limit. at Rebex.Net.SshSession.ConnectInner() at Rebex.Net.SshSession.Negotiate() at Rebex.Net.Sftp.Connect(String serverName, Int32 serverPort, SshParameters parameters)

1 Answer

0 votes
answered Jan 21, 2011 by Jan Sotola (16,920 points)
edited Jan 21, 2011

Are you really connecting to the FTP server? The exception comes from the SFTP component and the SFTP is completely different protocol that has nothing to do with FTP (for more information see our knowledge base article).

For connecting to FTP server you can use our FTP or FTP/SSL component.

If you are sure you are connecting to the SFTP server, please send us a block of code you are using for connecting to the SFTP server. Also please try creating a communication log usig the Sftp object's LogWriter property (as described at http://www.rebex.net/kb/logging.aspx) and mail it us to support@rebex.net. These informations would help us to recognize what is going on.

...