SendCmd

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
firstfriday
Posts: 3
Joined: Tue 15 Mar 2016 15:59

SendCmd

Post by firstfriday » Wed 16 Mar 2016 11:01

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 ...')

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SendCmd

Post by ViktorV » Fri 18 Mar 2016 14:16

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?

Post Reply