Page 1 of 1

Help needed using SFTP

Posted: Thu 25 Aug 2011 11:46
by ken_77
Hi,

I have a form with a FTPclient, and SSHclient and a ChannelClient, connecting is successfull - but trying to download a file throws the error:

UnicodeString E1;
SFTP->DownloadFile( "test.txt",E1,true);


"Cannot send data to server"




What did I miss here - any help is very much appreciated.

Posted: Thu 25 Aug 2011 12:03
by ken_77
Further - if I do this, I get a timeout:

SSH->Connect();

//vait for connect, then continue

SFTP->Initialize();

timeout, session have not responded

... and my application is freezing when calling the above

Posted: Fri 26 Aug 2011 11:54
by Dimon
It seems that this SSH server doesn't support SFTP protocol.
Can you connect to SFTP using any other third-party SFTP client?