On Thu, 14 Dec 2000, SoloCDM wrote:

> Charles Galpin stated the following:
> > 1. I can't figure out the option to get wget to retry when the server says
> > it's too busy to accept any more connections. -t doesn't fix this.
> 
> Try --tries=0 or greater than zero.  Zero keeps trying unlimitlessly. 
> Sometimes the single letter options in all commands don't work (I
> don't know why).

nope. for example

[root@pooh /root]# wget
ftp://updates.redhat.com/7.0/i386/pine-4.30-2.i386.rpm
--12:42:25--  ftp://updates.redhat.com:21/7.0/i386/pine-4.30-2.i386.rpm
           => `pine-4.30-2.i386.rpm'
Connecting to updates.redhat.com:21... connected!
Logging in as anonymous ...
Login incorrect.
[root@pooh /root]# wget -t 0
ftp://updates.redhat.com/7.0/i386/pine-4.30-2.i386.rpm
--12:42:43--  ftp://updates.redhat.com:21/7.0/i386/pine-4.30-2.i386.rpm
           => `pine-4.30-2.i386.rpm'
Connecting to updates.redhat.com:21... connected!
Logging in as anonymous ...
Login incorrect.
[root@pooh /root]# wget --tries=0
ftp://updates.redhat.com/7.0/i386/pine-4.30-2.i386.rpm
--12:43:01--  ftp://updates.redhat.com:21/7.0/i386/pine-4.30-2.i386.rpm
           => `pine-4.30-2.i386.rpm'
Connecting to updates.redhat.com:21... connected!
Logging in as anonymous ...
Login incorrect.

As you can see, ther retry switch doesn't help you in this case. What is
happening here is the max number of anonymous connections has been
reached. hence my use of lftp  for this sort of thing. :)

 
> > 2. if you want to kick off multiple downloads (and yet still get
> > feedback) you need to open multiple terminals.
> 
> Use an ampersand "&" preceded by a space at the very end of your wget
> command (the last thing you put before pressing enter).  It works with
> most commands.

No space is needed to put a job in the background. It will work with 
any comand since this is a feature of your shell. again, I said *with*
feedback. Try lftp, you will see what I mean.

charles



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to