Page 1 of 1

"Timeout expired, SFTP server have not responded" error

Posted: Thu 26 Apr 2012 18:39
by Kenny1981
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?

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

Posted: Thu 03 May 2012 09:59
by Dimon
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.

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

Posted: Thu 03 May 2012 15:55
by Kenny1981
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!

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

Posted: Thu 03 May 2012 16:47
by Dimon
It is good to see that this problem has been solved. If any other questions come up, please contact me.