Re: probably problems with buffer (General questions)
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:
- probably problems with buffer - spettroelica, 2006-12-28, 15:57
- Re: probably problems with buffer - woddrazen, 2006-12-28, 16:27
- Re: probably problems with buffer - spettroelica, 2006-12-28, 17:39
- Re: probably problems with buffer - woddrazen, 2006-12-28, 17:55
- Re: probably problems with buffer - spettroelica, 2007-01-02, 09:56
- Re: probably problems with buffer - woddrazen, 2007-01-02, 11:23
- Re: probably problems with buffer - spettroelica, 2007-01-02, 11:58
- Re: probably problems with buffer - woddrazen, 2007-01-02, 12:46
- Re: probably problems with buffer - spettroelica, 2007-01-02, 17:30
- Re: probably problems with buffer - woddrazen, 2007-01-02, 12:46
- Re: probably problems with buffer - spettroelica, 2007-01-02, 11:58
- Re: probably problems with buffer - woddrazen, 2007-01-02, 11:23
- Re: probably problems with buffer - spettroelica, 2007-01-02, 09:56
- Re: probably problems with buffer - woddrazen, 2006-12-28, 17:55
- Re: probably problems with buffer - spettroelica, 2006-12-28, 17:39
- Re: probably problems with buffer - woddrazen, 2006-12-28, 16:27