Re: wget with wild cards does not work?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 14 Feb 1999 14:56:58 +0100

Jens-Uwe Mager wrote:

> Is wget or squid the one to blame? Or is it because wget uses a
> different protocol if connecting directly?

I wget is to blame here. All of the wget FTP options (including filename
globbing) is only relevant when using FTP directly, and not when using a
HTTP proxy. The only error in Squid here is reporting the wrong error
code ("500 Internal error" instead of "404 Not found").

The correct usage of wget for such retreivals when using a proxy are:
  wget -r -np -N -l 1 -A "*.tar.bz2" -nH --cut-dirs=10
ftp://ftp.gwdg.de/pub/x11/kde/stable/1.1/distribution/tar/generic/source/bz2/

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sun Feb 14 1999 - 07:26:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:33 MST