cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Is --ftp-retry a good idea?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 26 Oct 2004 15:02:59 +0200 (CEST)

On Tue, 26 Oct 2004, Ralph Mitchell wrote:

> If you're going to add -ftp-retry, would there be a good case for adding
> -http-retry as well?? I could sure use it - I've had to make some scripts
> loop up to five times attempting to fetch a page.

What conditions would the retry be based on in the HTTP case?

> Would it be any harder to add "-retry N" in order to retry the operation up
> to N times before giving up??

It would probably make a lot of sense as it would take away any possible need
for --ftp-retry-count... :-)

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-10-26