Login  
Search All Forums
Dart Home | PowerTCP Telnet for .NET | Custom Development Reply | PowerTCP Telnet for .NET Topics | Forums   
AuthorForum: PowerTCP Telnet for .NET
Topic: ReadToDelimiter retrieving too much data
edowney
eric.downey@state.de.us

From: Newark, DE USA
Posts: 17
Member Since: 10/28/09
posted February 15, 2013 8:35 AM

I'm writing a program that telnets into a unix server, sends some commands, and validates the text returned by the command. In one case I'm doing an ls on a specific file and then doing a tail on it. Everything works ok except that when I retrieve the output from the command that's written out to the telnet session I end up with the command and the output being returned when I do a ReadToDelimiter. Is there someway I can retrieve just the output from the command?
Nick B (Admin)

From: Utica, NY USA
Posts: 576
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted February 15, 2013 9:04 AM

Hello,

The Telnet.Echo property is used to indicate to the server whether it should echo data sent to the server back to the client. Alternatively, the sent command may be removed from the output before it is stored.
edowney
eric.downey@state.de.us

From: Newark, DE USA
Posts: 17
Member Since: 10/28/09
posted February 15, 2013 10:27 AM

Awesome - that did it - thanks!
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX