RE: Does not returns in network connection error
Date: Sun, 25 Jan 2009 10:57:10 +0530
Yes, I am only uploading files using FTP.
LibCurl version is 184.108.40.206 on windows XP,
Scenario is that, I am in the middle of transfer, (For testing purpose, I
removes my machine form network),
When client execute this line "retCode = curl_easy_perform(curlhandle);" it
never returns back.
I have to explicitly kill the process.
It works fine when network is up.
I have made my client by looking at ftpuploadresume.c.
Am I doing something wrong. Please have a look at the code.
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Sunday, January 25, 2009 4:47 AM
To: libcurl development
Subject: Re: Does not returns in network connection error
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 =
> 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.seReceived on 2009-01-25