Simple (Probably VERY Trivial To Ya'll )

I merely want to send TWO lines to a remote host (via the Telnet program, OR
if there is an easier way), with the information that's returned to be
collected to a file.

(I'm creating reports from a web-server - and would like to send TWO LINES
to THAT server, and 'read' the results.)

i.e. If I did this:

$> telnet (space)  h.o.s.t/ip (space) port#80
(What gets returned is:)
Connected to blah.blah
Escape character is '^]'.

(then, if I send:)

get url http/1.1 (lf)
accept blah..blah.. (lf)

the web-server then sends the report/pages (in html format, of course) that
would normally be displayed to a web-browswer.
It is THIS text that I wish to capture to a file.

(Sorry, I know it may be very trivial for MOST of you, I apologize, but I'm
bound and determined to keep at it, and *GOING* to Learn (The Kewlest!)
Perl!)

Any help?

William A Fink - Network Engineer - NUWC
Solaris/Unix/Linux/Win9x/Win2K/WinME/Novell/CiscoIOS
Instructor/Certifications: MCSE Networking Essentials
Linux+/Network+/A+(99/01)/INet+/Intra-Internet/Web Security


William A Fink - Network Engineer - NUWC
Solaris/Unix/Linux/Win9x/Win2K/WinME/Novell/CiscoIOS
Instructor/Certifications: MCSE Networking Essentials
Linux+/Network+/A+(99/01)/INet+/Intra-Internet/Web Security



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to