ExecuteSSHCommand Method
Sends an SSH command to the server in the middle of SFTP session.
Object Oriented Interface
public function doExecuteSSHCommand($command);
Procedural Interface
secureblackbox_sftpclient_do_executesshcommand($res, $command);
Remarks
Use this command to send an SSH command to the server in the middle of an SFTP session. The command is executed in a secondary channel, so the SFTP connection is not affected.
This method is suitable for simple commands that do not require interaction with the user. The call returns the command output.