Trapping for error and displaying receive buffer a - WeOnlyDo Discussion board

Trapping for error and displaying receive buffer a (wodSSH / wodSSH.NET)

by Eric, Friday, December 07, 2007, 14:32 (6197 days ago)

[size=2]Problem:[/size]

Issue 1:
I would like to know how to display what was received after a Prompt times out. One of my Telnet1.Prompt is waiting for some text and times out because it does not find the string I am expecting. When I strip the ANSI from the stream I realize that I loose some of the characters and I need to know what was actually received.

Issue 2:
Also I know that the Prompt function removes the Searched for string out of the stream received. Is there also a way to wait for the string and not remove the string from the stream?


Complete thread: