At 09:02 AM 1/14/2002, Hrvoje Niksic wrote:
>Fred Holmes <[EMAIL PROTECTED]> writes:
>
> > Is there a syntax such that I can connect to the host once, transfer
> > the four files, and then disconnect?
>
>Unfortunately, no, not yet.

Actually, I dug through the documentation some more and found I could use 
the -B (base) option to put the URL on the command line, and list the four 
files in the list file.  This makes the action what I want, but 
unfortunately requires editing the command line (batch file).  It would be 
nice if wget eventually recognizes identical hosts and connects only once.

I also discovered much to my delight that I could use for the list file a 
general text file that is a synopsis I retrieved from the Commerce Business 
Daily / Fed Biz Opps.  It parsed the text file, reported an error on each 
of the many lines that was not a URL, and proceeded to download correctly 
each / all of 22 files listed in the text file as separate URLs -- all 
without "operator intervention".  I can ignore the error messages, and I 
don't have to edit the text file to delete all but the URLs.  That's 
great.  I presume that I would have to do enough editing so that each of 
the URLs is on a line by itself, not embedded in text.  My test example was 
already that way.  But on the wish list . . .

wget is a marvelous product.

Fred Holmes
[EMAIL PROTECTED]

Reply via email to