Command Line http request

MacKenzie Smith macknz at elmer.harvard.edu
Wed Jan 29 09:21:49 EST 1997


> I would like to set up a small script that would automatically 
> request each document in the directory through http.  My 
> question is how do I communicate to a Web server from a
> UNIX command line.  

If you're in the UNIX environment, then another approach to this
(other than Expect) would be to call the lynx browser from your script 
with the -s option to get back the source of the page you've requested. 
That's probably the easiest thing to do...

_____________________________________________________________________________
MacKenzie Smith                                   mackenzie_smith at harvard.edu
Office for Information Systems                    (617)495-3724
Harvard University Library                        %\%\%\%\%\%\%\%\%\%\%\%\%\%
-----------------------------------------------------------------------------


More information about the Web4lib mailing list