|
|
|
|
Escribe los datos en la sesión SSH especificada. cMySession is sshSession // The session was started by SSHConnectShell. // Charact(10) is used to end the command line to send. // Position in the /var/log folder SSHWrite(cMySession, "cd /var/log" + Charact(10)) // Ask to read the lines containing "error" SSHWrite(cMySession, "grep -i error /var/log/messages" + Charact(10))
Sintaxis
<Result> = SSHWrite(<SSH session> , <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. Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|