Page 1 of 1

SSHClient download - File not found

Posted: Mon 20 Jun 2022 16:38
by dmitchell
Using the SSHClient demo provided I am able to upload files fine but anything to do with viewing/downloading fails.

Code: Select all

  ScSSHClient1.Connect;
  ScSFTPClient1.Initialize;
  S := ScSFTPClient1.RetrieveAbsolutePath('/attachments/test1.txt');
  ScSFTPClient1.DownloadFile(S, 'C:\_Temp\1.txt', True );
EScSFTPHandledError 'SFTP server error occurred: File not found'

Re: SSHClient download - File not found

Posted: Wed 29 Jun 2022 11:52
by Dimon
We have answered you by e-mail.