SSHClient download - File not found
Posted: Mon 20 Jun 2022 16:38
Using the SSHClient demo provided I am able to upload files fine but anything to do with viewing/downloading fails.
EScSFTPHandledError 'SFTP server error occurred: File not found'
Code: Select all
ScSSHClient1.Connect;
ScSFTPClient1.Initialize;
S := ScSFTPClient1.RetrieveAbsolutePath('/attachments/test1.txt');
ScSFTPClient1.DownloadFile(S, 'C:\_Temp\1.txt', True );