|
|
|
|
|
<sshSession variable>.Write (Function) In french: <Variable sshSession>.Ecrit Writes data into the specified SSH session. cMySession is sshSession // The session was started by <sshSession>.ConnectShell. // Charact(10) is used to end the command line to send. // Position in the /var/log folder cMySession.Write("cd /var/log" + Charact(10)) // Ask to read the lines containing "error" cMySession.Write("grep -i error /var/log/messages" + Charact(10))
Syntax
<Result> = <SSH session>.Write(<Data>)
<Result>: Boolean - True if the data was successfully sent,
- False if an error occurs. ErrorInfo returns more information on the error.
<SSH session>: sshSession variable Name of the sshSession variable corresponding to the SSH session to be used. <Data>: Buffer Data that will be written into the SSH session.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|