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

Command Property

The command to be sent to the remote host.

Syntax

char* GetCommand();

int SetCommand(char* lpszCommand);

Default Value

""

Remarks

Assigning a command to this property makes the class attempt to connect to the SSHHost and execute the command under the user's shell. There is no need to append an end-of-line character to the command. All output from the remote application will be returned through the Stdout event.

Note: the class will terminate the connection once the remote application has finished executing. If the exit status of the application is non-zero (failure), the class will raise an exception.

Data Type

String

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0