IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Command Property

The command to be sent to the remote host.

Object Oriented Interface

public function getCommand();
public function setCommand($value);

Procedural Interface

ipworks_rshell_get($res, 2 );
ipworks_rshell_set($res, 2, $value );

Default Value

''

Remarks

This property contains the command to be sent to the remote host. Assigning a UNIX command to this property makes the class attempt to connect to the RemoteHost and execute the command using the rshell protocol. There is no need to append an end-of-line character to the command.

If "" (empty string) is assigned to the Command property, the current connection is broken.

Example (Execute a Command)


RshellControl.Command = "cd /home/username/; ls -al; cd/; ls"

Data Type

String

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0