Discuss this help topic in SecureBlackbox Forum

TElSimpleSSHClient.Commands

TElSimpleSSHClient     See also     


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


This property specifies the commands to be executed on the server

Declaration

[C#]
    TElStringList Commands;

[VB.NET]
    Property Commands As TElStringList

[Pascal]
    property Commands : TStringList;

[C++]
    TElStringList* get_Commands();

[PHP]
    TElStringList get_Commands()

[Java]
    TElStringList getCommands();

Description

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

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

See also:     Command     Environment     TerminalInfo    

Discuss this help topic in SecureBlackbox Forum