EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ExecuteCommand with multiple commands

Posted: 11/23/2011 04:47:02
by jiins (Standard support level)
Joined: 06/27/2011
Posts: 14

If I run
as response I get only the result of the "time" command. Any way to get the combined response of multiple commands in one shot?

Posted: 11/23/2011 04:52:10
by Ken Ivanov (Team)

ExecuteCommand() does not support multiple commands, sorry. Please consider using the component in "sophisticated" mode, by assigning a list of commands to the Commands property and running the Open/ReceiveData/Close cycle.
Posted: 11/23/2011 05:32:20
by Eugene Mayevski (Team)

The question is more complicated. What you send to the server in your code is one command, however it is OS- and server-dependent on how to execute it and how to route output. So for maximum portability you should really use either Commands property or use shell channel.

Sincerely yours
Eugene Mayevski



Topic viewed 832 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!