Re: Receive buffer limitations (General questions)

by woddrazen, (6025 days ago) @ bmclellan

Barry,


SSH connection flows and Receive Method will receive all data that is currently received by wodSSH. If some data is left you will receive it when you call next Receive Method.

If you want to receive all data at same time please use Execute Method instead.
[code]ssh.WaitFor( weonlydo(at)linux:~$ )
ssh.DataReady = 0
debug.print ssh.Execute( ls -al + vbLf, weonlydo@linux:~$ )[/code]
More help for Execute Method you can find here:
http://www.weonlydo.com/SSH/Help/WODSSHLib~wodSSH~Execute.html


Drazen

locked

Complete thread: