[wplug] wget

Chris vze2f6h6 at verizon.net
Thu Mar 20 09:31:36 EST 2003


I changed the url and when I ran it nothing happened.  No messages and no
files.

Chris Romano

-----Original Message-----
From: wplug-admin at wplug.org [mailto:wplug-admin at wplug.org] On Behalf Of
Brian Medley
Sent: Thursday, March 20, 2003 9:21 AM
To: wplug at wplug.org
Subject: Re: [wplug] wget

On Wed, Mar 19, 2003 at 04:39:36PM -0500, Chris wrote:

> I have been reading the man pages on this but can't seem to find what I am
> looking for.  I might have missed it.  I don't know.  How do you use
> wildcards for file names?  There are many files in a directory that I want
> to download.  They are all named with numbers.  I tried path/*.exe, but I
> get an error saying that wildcards are not allowed.  All the files that I
> want are going to change from time to time, but should still be named with
> numbers.  Am I going to have to write a script that just goes from
> 00000000.exe to 99999999.exe?  I hope not.

I assume that these files are going to be downloaded over http, since the
file glob stuff didn't work.  Does the server have directory listing turned
on?  If so, then the attached perl script might be of assistance.  You'll
have to edit the base url at lines 26 and 35.

-- 
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                          Brian Medley         @~./'O o`\.~@
"Knowledge is Power" brian.medley at verizon.net /__( \___/ )__\  *PPPFFBT!*
  -- Francis Bacon                               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`




More information about the wplug mailing list