If you're willing to write your application in Python, the module
"urllib" would do what you want. Using it, you can do things like
>>> f = urllib.urlopen('http://www.cwi.nl/')
>>> while 1:
... line = f.readline()
... if not line: break # EOF
... print line,
...
(contents of requested url appears here)
>>>
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>