On 31 Jan 2002 at 15:20, Ian Abbott wrote: > On 31 Jan 2002 at 9:25, Fred Holmes wrote: > > > wget -N http://www.karenware.com/progs/*.* > > > > fails with a "not found" whether the filespec is * or *.* > > > > The * syntax works just fine with ftp > > > > Is there a syntax that will get all files with http? > > You could try > > wget -m -l 1 -n http://www.karenware.com/progs/
A slight correction, that should read: wget -m -l 1 -nd http://www.karenware.com/progs/ > > but it will only do what you want if the web server sends back a > HTML-format directory listing (complete with links to each file), > rather than some other document. I should also point out that there is no way Wget or any other http-client can force the web server to send back a directory listing. It will send back what it has been configured to send back - possibly even a "403 Forbidden" error.
