|
|
|
|
Escribe los datos en la sesión SSH especificada. 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))
Sintaxis
<Result> = <SSH session>.Write(<Data>)
<Result>: booleano - True si los datos se enviaron correctamente,
- False si se produce un error. ErrorInfo devuelve más información sobre el error.
<SSH session>: Variable de tipo sshSession Nombre de la sshSession Variable correspondiente a la sesión SSH que se va a utilizar. <Data>: Buffer Datos que se escribirán en la sesión de SSH.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|