[wplug] wget

Brian Medley bpm-list-wplug at 4321.tv
Thu Mar 20 09:21:09 EST 2003


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_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dl.pl
Type: application/x-perl
Size: 913 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030320/b277888a/dl-0001.bin


More information about the wplug mailing list