"Timeout expired, SFTP server have not responded" error

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Kenny1981
Posts: 4
Joined: Wed 25 Apr 2012 21:21

"Timeout expired, SFTP server have not responded" error

Post by Kenny1981 » Thu 26 Apr 2012 18:39

I am getting this error when trying to use the SSHClient demo. I am able to connect without a proble, but when I double-click on a folder, I get this error. I am getting the same error in my program when I call SFTPClient.DownloadFile.

I saw an older thread that reported this issue, but that thread indicated that this issue had been fixed. Is there a setting on one of the components that I might not be setting right?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: "Timeout expired, SFTP server have not responded" error

Post by Dimon » Thu 03 May 2012 09:59

Do you call the TScSFTPClient.Initialize method in the begining of working with SFTP protocol?
Please try to use the SFTPClient demo of SecureBridge and check if the problem persists.

Kenny1981
Posts: 4
Joined: Wed 25 Apr 2012 21:21

Re: "Timeout expired, SFTP server have not responded" error

Post by Kenny1981 » Thu 03 May 2012 15:55

I was able to solve this problem by looking at that demo. I had a TScSSHShell component attached to the SSHClient, using the SSHClientDemo as an example. The SFTPClient demo did not have this component, and when I removed it from my project, I was able to download the file without error. Thank you!

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: "Timeout expired, SFTP server have not responded" error

Post by Dimon » Thu 03 May 2012 16:47

It is good to see that this problem has been solved. If any other questions come up, please contact me.

Post Reply