curl-users
Re: retry option?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Apr 2009 12:50:13 +0200 (CEST)
Date: Tue, 28 Apr 2009 12:50:13 +0200 (CEST)
On Tue, 28 Apr 2009, Oren Amsalem wrote:
> I'm working with very problemtic servers, And I've not found a retry option
> in the curl manual, Is there a option to do it?
Let me cut and paste a snippet from the man page:
--retry <num>
If a transient error is returned when curl tries to perform a
transfer, it will retry this number of times before giving up.
Setting the number to 0 makes curl do no retries (which is the
default). Transient error means either: a timeout, an FTP 5xx
response code or an HTTP 5xx response code.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-04-28