I am evaluating the SFTP components (6.5.8 05-May-15) using Delphi XE; following the demo code closely. Connection and Initialize is working well, thank you, but a test of uploading files, such as:
Code: Select all
ScSFTPClient1.Uploadfile('C:\Users\Phil\Documents\afile.txt', '/RandDT_UK/C1122/afile.txt', True);
(Yes, the client is a Windows PC, and the FTP server is running on (L)Unix). Any thoughts?
As a general question, how can I access the response text from the SFTP server? This would be very useful for debugging purposes at least.
By the way, the Delphi IDE is not happy with the creation of the ScSFTPClient OnSuccess event - the errror is:
Code: Select all
EParseError : Expected '>' but '.' found.
Thanks for a great set of components, and thanks for any advice.
Kind regards
PhilW.