> I'm struggling with a strange problem at the moment
> establishing a SFTP connection. (Delphi 6)

SFTP ?! Are you sure ? It is not supported by the component.
FTPS is supported by ICS-SSL but it is not SFTP.

It is probably the problem. You don't see it because you don't check any
result or error.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

----- Original Message ----- 
From: "Beacon - Business Solution Architects" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Wednesday, October 18, 2006 12:20 PM
Subject: [twsocket] Connection Problem SFTP


> Hi,
>
>
>
> I'm struggling with a strange problem at the moment establishing a SFTP
> connection. (Delphi 6)
>
>
>
> When executing the following procedure FTPClient1.PutAsync. I get the
error
> . Application raised exception class FTPException with message 'FTP
> component not ready.'
>
>
>
> This is a part of my code:
>
>
>
>   FTPClient1.HostName := str_ftp.Text;
>
>                  if cb_ssl.checked then
>
>                         FTPClient1.Port := '990'
>
>                  else
>
>                         FTPClient1.Port := '21';
>
>                  FTPClient1.UserName := e_company.text;
>
>                  FTPClient1.PassWord := ftp_password.text;
>
>                  FTPClient1.HostDirName := '/';
>
>                  FTPCLient1.LocalFileName := FileName;
>
>                  FTPClient1.HostFileName := 'DUMMY.TST';
>
>                  FTPClient1.Binary := False;
>
>                  FtpClient1.OnDisplay := DisplayHandler;
>
>                  FTPClient1.Passive:=True;
>
>                  FtpClient1.Options:= FtpClient1.Options -
> [ftpNoAutoResumeAt];
>
>
>
>                  FTPClient1.ConnectAsync;
>
>                  FTPClient1.PutAsync;
> ß---- CAUSE ERROR
>
>                  FTPClient1.QuitAsync;
>
>
>
>
>
> I'm I missing something ?
>
>
>
> Thanks for feedback
>
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to