> Message: 2 > Date: Fri, 4 Aug 2006 21:05:04 +0100 > From: "Jerry Mallett" <[EMAIL PROTECTED]> > Subject: Telnet, Indy9, text file conversion > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > >>> Yes you can use your telnet component to retrieve a string. > >>> Standard pascal read routine will read comma separated > >>> fields > >> I'm not aware of how to do that with the Read() or ReadLn() routines > >> (which is what I presume you mean); at least not without reading an > >> entire line as a string and then parsing. > >> > >> Can you clarify? > > I resolved converting the output from the TELNET log into my database > now I want to be able to capture the data stream live and update the > database > as each call is logged. > > Was hoping for some sample delphi code showing how to open and > read from a > port using > TELNET or any other method....... if anyone has any ideas. PLEASE. > > Using Telnet from the DOS prompt I have do type this > > TELNET -f c:\calldata.txt 192.168.1.2 4001 > > Then I have to type SET LOGGING to direct the data stream to the > calldata.txt file. > > Here's hoping...... > > > Jerry > There are plenty of Telnet components that fit right into your program and will give you the data sent as a string. So you grab that, parse it and push it. Use Telnet component to make your own telnet client Mick
_______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

