Re: Read buffer out of waitfor? (General questions)
I solved this problem with this little bit of code thanks to your help Drazen, you are the best!
ssh.send command & LF
response.write command sent, please wait...<br>
response.flush
do until cmdend = 1
ssh.DataReady = 0
sshoutput = ssh.receive
sshoutput = replace(sshoutput,LF, <br> )
response.write sshoutput
response.flush
if instr(sshoutput, # ) <> 0 then
cmdend = 1
response.write <p>complete...<br>
End if
Loop
Complete thread:
- Read buffer out of waitfor? - Logan, 2008-07-02, 12:55
- Re: Read buffer out of waitfor? - wodDamir, 2008-07-02, 13:08
- Re: Read buffer out of waitfor? - Logan, 2008-07-02, 17:01
- Re: Read buffer out of waitfor? - woddrazen, 2008-07-02, 17:41
- Re: Read buffer out of waitfor? - Logan, 2008-07-03, 19:17
- Re: Read buffer out of waitfor? - woddrazen, 2008-07-02, 17:41
- Re: Read buffer out of waitfor? - Logan, 2008-07-02, 17:01
- Re: Read buffer out of waitfor? - wodDamir, 2008-07-02, 13:08