bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] WGet Help


From: Todd Pattist
Subject: Re: [Bug-wget] WGet Help
Date: Thu, 04 Jun 2009 10:03:57 -0400
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

am trying to automate a file download, but the filename changes every time there is an update.
I have attempted to use a wildcard * to make this easier
You can't do it the way you are trying to do it.  Wget has no way of
knowing what's in the directory http://download.avg.com/filedir/inst.
Wget will happily download a specific file from that directory, and it
would be happy to download all exe files in that directory (or the
wildcard matched exe files you want) if those files were listed in an
html index file in that directory, but there is no such index.html (it's
404 denied).

Basically, wget has to have an html file to parse for filenames to
retrieve.  Even though you know where the file you want will be stored,
and part of the name, you can't get it without knowing the full name.
I'd look for a page on the site that lists that name, then use the
accept filter to get what you want.  If there is no such page, you're
out of luck, unless you want to try requesting all possible filenames
(which wouldn't be very nice to the server.)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]