This component is part of the IP Works Enterprise ASP.NET Component Library.
The Rexec component is used to execute commands on a remote UNIX machine using the rexec mechanism.
NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.
Remarks
The Rexec component allows remote execution of commands on UNIX hosts, or any other system with the rexec interface. Using the component is very simple. The destination is specified by the RemoteHost property, the login information is given by the RemoteUser and RemotePassword properties. Then call the Execute method with the Command to execute as a parameter. You can also set the Command property to the command that you would like to execute for identical results. Further input can be supplied to the command by assigning data to the Text parameter of the Send method, or via the Stdin property.
The output of the command is returned through the Stdout event. If an error happens on the protocol level, the error message can be found in the ErrorMessage property. Errors during command execution (the stderr stream) are given by the Stderr event.
To be able to successfully use the component, the remote host must be set up to allow execution of commands via rexec from the machine the component runs on.
More Information: http://www.nsoftware.com/products/component/rexec.aspx |