cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl on Win XP in batch file and retransfering...

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Jul 2002 15:35:55 +0200 (MET DST)

On Fri, 28 Jun 2002, tenbit wrote:

> I use cURL as a program to fill and post forms (with POST method). At one
> session I'm posting about 600 forms [I have broke it into two parts right
> now].

> The problem: I have slow connection, servers with the forms are slow
> and sometimes (uhhh, everytime at honest) some of them aren't
> processed correctly, cURL simply can't connect to them. What can I
> do to prevent this e.g. try again?

You write your script to check if curl returns an error. If an error
occurred, you either try again or save the data to try again later or
whatever way you think is best.

-- 
  Cheers,
  Daniel Stenberg
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
Received on 2002-07-25