Hi! I'm having trouble using wget 1.8.[01] over a (squid24-) proxy to mirror a ftp-directory:
# setenv ftp_proxy http://139.21.68.25:8888 # wget181 -r -np -l0 ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates --12:06:58-- ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates => `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates' Connecting to 139.21.68.25:8888... connected. Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 3,665 3.50M/s 12:06:58 (3.50 MB/s) - `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates' saved [3665] FINISHED --12:06:58-- Downloaded: 3,665 bytes in 1 files ------------------------------------------------------------------------------ It does not seem to go into recursion for some reason ... Version 1.7.1 however does go into recursion but does not honor the -np switch and traverses upwards: # wget171 -r -np -l0 ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates --12:25:05-- ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates => `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates.1' Connecting to 139.21.68.25:8888... connected! Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] 0K ... @ 3.50 MB/s 12:25:05 (3.50 MB/s) - `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates.1' saved [3665] --12:25:05-- ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates/internal-gopher-menu => `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates/internal-gopher-menu' Connecting to 139.21.68.25:8888... connected! Proxy request sent, awaiting response... 200 OK Length: 181 [image/gif] 0K 100% @ 176.76 KB/s 12:25:05 (176.76 KB/s) - `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/updates/internal-gopher-menu' saved [181/181] --12:25:05-- ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/ => `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/index.html' Connecting to 139.21.68.25:8888... connected! Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] 0K ... @ 447.54 KB/s 12:25:07 (447.54 KB/s) - `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/index.html' saved [3208] --12:25:07-- ftp://ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/6.2/ => `ftp.funet.fi/pub/Linux/mirrors/redhat/redhat/linux/6.2/index.html' Connecting to 139.21.68.25:8888... connected! . . . . Am I missing something here? Or is this just not possible via proxies? Thanx in advance for any hints -- Holger