Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
 
SUBSCRIBE
 
Previous Newsletters
 




Products Articles Downloads Order Support
Customer Portal     

FTP + SSH

SSL / TLS support | Using certificates | FTP + SSL | FTP + SSH

SFTP Client (Secure Shell)

SFTP Client is a Clever Internet Suite component that implements FTP + SSH (SSH File Transfer Protocol) protocol. The usage of this component is similar to the other our component, FTP Client. The most of methods are the same in both components.

You can use the SFTP client with any SFTP server that implements the SSH File Transfer Protocol protocol: Filezilla Server, Core FTP server, etc.

The sample below demonstrates how to use the SFTP Client component:

// [Delphi]
procedure TForm1.Button1Click(Sender: TObject);
var
   Destination: TStream;
begin
   clSFtp1.Server := 'sftphost';
   clSFtp1.UserName := 'john';
   clSFtp1.Password := 'psw';
   clSFtp1.Open();

   Destination := TFileStream.Create('MyDocument.txt', fmCreate);
   try
      clSFtp1.GetFile('MyDocument.txt', Destination);
   finally
      Destination.Free();
   end;

   clSFtp1.Close();
end;

    Copyright © 2000-2019