Code: Select all
ScSSHClient1.Connect;
ScSFTPClient1.Initialize;
S := ScSFTPClient1.RetrieveAbsolutePath('/attachments/test1.txt');
ScSFTPClient1.DownloadFile(S, 'C:\_Temp\1.txt', True );
Code: Select all
ScSSHClient1.Connect;
ScSFTPClient1.Initialize;
S := ScSFTPClient1.RetrieveAbsolutePath('/attachments/test1.txt');
ScSFTPClient1.DownloadFile(S, 'C:\_Temp\1.txt', True );