Discuss this help topic in SecureBlackbox Forum


TElSimpleSSHClient     See also     

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

This property specifies the commands to be executed on the server


    TElStringList Commands;

    Property Commands As TElStringList

    property Commands : TStringList;

    TElStringList* get_Commands();

    TElStringList get_Commands()


    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