Page 1 of 1

SendCmd

Posted: Wed 16 Mar 2016 11:01
by firstfriday
Is there a function for sending commands to the FTP Server other than the one provided by your TScSFTPClient class functions?

Something like
TScSFTPClient.sendcmd('version')
TScSFTPClient.sendcmd('cd ...')

Re: SendCmd

Posted: Fri 18 Mar 2016 14:16
by ViktorV
1. You can open a directory using the OpenDirectory method with the needed path. For example, to get file list of the root directory (like cd ..) just execute the following code:
SFTPClient.OpenDirectory('..');
2. Please clarify, what do you mean by version command?