What happens if you use the --mirror option of wget?
===== Original Message From Daniel Rees <dan@dwrees.co.uk> ===== I need to download some big files on a dial-up connection on a newly installed SuSE 7.2 system, so I want to use wget.
I cannot however seem to connect to any server - any ideas?
Example wget output:
dwr@linux:~ > wget ftp://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16/ k_deflt-2.4.16-22.i386.rpm --10:57:42-- ftp://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16/ k_deflt-2.4.16-22.i386.rpm => `k_deflt-2.4.16-22.i386.rpm' Connecting to ftp.gwdg.de:21... connected! Logging in as anonymous ... Logged in! ==> TYPE I ... done. ==> CWD linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16 ... done.==> PORT ... done. ==> RETR k_deflt-2.4.16-22.i386.rpm ... Error in server response, closing control connection. Retrying.
The same thing happens for every server, every file I try.
-- Daniel Rees e: dan@dwrees.co.uk w: http://www.dwrees.co.uk
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Thursday 07 February 2002 11:04, allabos wrote:
What happens if you use the --mirror option of wget?
The same: dwr@linux:~ > wget ftp://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16/k_deflt-2.4.16-22.i386.rpm --mirror --11:16:16-- ftp://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16/k_deflt-2.4.16-22.i386.rpm => `ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16/.listing' Connecting to ftp.gwdg.de:21... connected! Logging in as anonymous ... Logged in! ==> TYPE I ... done. ==> CWD linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16 ... done. ==> PORT ... done. ==> LIST ... Error in server response, closing control connection. Retrying. I can "get" fine using "ftp" - strange... -- Daniel Rees e: dan@dwrees.co.uk w: http://www.dwrees.co.uk
I've solved the problem below by adding "passive_ftp = on" to ~/.wgetrc (although it's taken me a frustratingly long time to find that info on google!) Might be one for the unofficial FAQ? It seems that when you use SuSE's personal firewall, yast forgets to set wget to passive mode... On Thursday 07 February 2002 11:19, Daniel Rees wrote:
On Thursday 07 February 2002 11:04, allabos wrote:
What happens if you use the --mirror option of wget?
The same: dwr@linux:~ > wget ftp://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.1 6/k_deflt-2.4.16-22.i386.rpm --mirror --11:16:16-- ftp://ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.1 6/k_deflt-2.4.16-22.i386.rpm => `ftp.gwdg.de/linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16/.li sting' Connecting to ftp.gwdg.de:21... connected! Logging in as anonymous ... Logged in! ==> TYPE I ... done. ==> CWD linux/suse/ftp.suse.com/suse/i386/update/7.2/kernel/2.4.16 ... done. ==> PORT ... done. ==> LIST ... Error in server response, closing control connection. Retrying.
I can "get" fine using "ftp" - strange...
-- Daniel Rees e: dan@dwrees.co.uk w: http://www.dwrees.co.uk
On Thu, 7 Feb 2002, Daniel Rees wrote:
Might be one for the unofficial FAQ? It seems that when you use SuSE's personal firewall, yast forgets to set wget to passive mode...
That's true - currently we do not touch /etc/wgetrc. But it might be a good enhancement... Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Deutschherrnstr. 15-19 http://www.suse.de/~grimmer/ 90429 Nuernberg, Germany Pro is to con as progress is to Congress.
On Thursday 07 February 2002 13:33, Lenz Grimmer wrote:
On Thu, 7 Feb 2002, Daniel Rees wrote:
Might be one for the unofficial FAQ? It seems that when you use SuSE's personal firewall, yast forgets to set wget to passive mode...
That's true - currently we do not touch /etc/wgetrc. But it might be a good enhancement...
I've e-mailed feedback@suse.de with that very suggestion (well, at least an SDB article on it). :) -- Daniel Rees e: dan@dwrees.co.uk w: http://www.dwrees.co.uk
participants (3)
-
allabos
-
Daniel Rees
-
Lenz Grimmer