Connecting Tech Pros Worldwide Help | Site Map

How can I read output of a remote Http server

Basil
Guest
 
Posts: n/a
#1: Apr 19 '06
We are working on a project which it requires to invoke a command on a
remote server and read the output and process the response.

What do we need to accomplish this task.

Thanks for any response.

Regards
Basil


Jim Gibson
Guest
 
Posts: n/a
#2: Apr 19 '06

re: How can I read output of a remote Http server


In article <i9CdnRG4DsdyFtjZ4p2dnA@magma.ca>, Basil <Support@Isabe.com>
wrote:
[color=blue]
> We are working on a project which it requires to invoke a command on a
> remote server and read the output and process the response.
>
> What do we need to accomplish this task.[/color]

You can use the LWP::Simple module for fetching a web page from an HTTP
server. You can use HTML::TokeParser to parse the returned text.

Pick up a copy of "Perl & LWP", Sean M. Burke, O'Reilly. for more
information.

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future.
Closed Thread