curl-library
Re: How to set the number of retries for FTP?
Date: Tue, 8 Oct 2002 16:32:27 +0200
Then can I do something like this?
for (i = 0; i < MAX_ATTEMPTS; i++) {
if ((ret = curl_easy_perform(curl)) == CURL_OK)
break;
}
or do I have to call 'curl_easy_setopt'?
Thanks again,
Guido.
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>
Sent: Tuesday, October 08, 2002 2:15 PM
Subject: Re: How to set the number of retries for FTP?
> On Tue, 8 Oct 2002, Guido Reina wrote:
>
> > How can I set the number of retries for FTP uploading? I haven't seen
> > anything in 'curl_easy_setopt'.
>
> There is no such thing as retries built-in in libcurl.
>
> If the transfer fails, you have the option to call curl_easy_perform()
again
> to retry. You can do that any number of times.
>
> --
> Daniel Stenberg -- curl related mails on curl related mailing lists
please
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-08