Re: probably problems with buffer - WeOnlyDo Discussion board

Re: probably problems with buffer (General questions)

by woddrazen, Tuesday, January 02, 2007, 11:23 (6535 days ago) @ spettroelica

Hans,


When you connect to server and before you send some command you will receive prompt.
Here is my prompt that I receive when I connect to my server:

drazen@debian:~$

You can check out prompt in putty and us it as a prompt in your code.

Here is how I successfully use it:
[code]
ssh1.WaitFor( drazen@debian:~$ )
ssh1.DataReady = 0
TextBox1.Text = TextBox1.Text + (ssh1.Execute( ls -al + vbLf, drazen@debian:~$ , 30))
[/code]

Let us know how it goes.


Regards,
Drazen


Complete thread: