0 votes
by (120 points)
edited

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
by (18.1k points)
edited

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.

...