cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Does not returns in network connection error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 25 Jan 2009 00:16:58 +0100 (CET)

On Sat, 24 Jan 2009, Ranu Gontia wrote:

> I have made an client for uploading file using curl lib.
>
> If in middle of transfer, network goes down, retCode =
> curl_easy_perform(curlhandle);
>
> Does not retuns. I am totally stuck.
>
> I don't know what to do.

Uploading only over FTP I take it?

What libcurl version on what operating system?

Does it always hang?

When it hangs, how much of the file has been transfered?

Does the ftpupload.c example code upload fine for you?

-- 
  / daniel.haxx.se
Received on 2009-01-25