Discuss this help topic in SecureBlackbox Forum

TElSimpleSSHClient.Command

TElSimpleSSHClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This property specifies the command which is executed on the server

Declaration

[C#/Java]
    string Command;

[VB.NET]
    Property Command As String

[Pascal]
    property Command : string;

[C++]
    void get_Command(std::string &OutResult);
    void set_Command(const std::string &Value);

[PHP]
    string get_Command()
    void set_Command(string $Value)

Description

    Assign this property a command which you want to execute on a server side (for example, «ls -l | grep myfile»)

    Note, that when the command is set, Command tunnel is created and the specified command is the only one to be executed before the tunnel is closed. When the command is not set, Shell tunnel is created and the application can send several commands (via shell).

See also:     Commands     Environment     TerminalInfo    

Discuss this help topic in SecureBlackbox Forum