curl-library
RE: FTP file downloaded but request fails
Date: Wed, 4 Jan 2006 10:21:11 -0000
Unfortunately I don't have any control over the network, I was just
wondering if network issues like this could be dealt with in a slightly
better way by curl (seeing as MS FTP works...) - I agree it isn't a
particularly nice (maybe even unreliable) solution.
Thanks for the response.
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: 04 January 2006 09:46
To: libcurl development
Subject: Re: FTP file downloaded but request fails
On Wed, 4 Jan 2006, jon.turner_at_thomson.com wrote:
> I am trying to download from an unknown FTP server over an internal
> network, but each time I use my application to download larger files
> (~28mb, can take up to 15mins) they will get to 100% downloaded but
> then the connection to the server will timeout and curl_easy_perform()
> will return an error, even though it looks as though the whole file
> has been transferred. The error I get is 28:
> CURLE_OPERATION_TIMEOUTED. I am setting the FTPPORT option as PASV
> mode doesn't work. CURL.exe behaves in the same way - gets to 100%
then times out and retries unsuccessfully. Smaller files complete
correctly.
Could this perhaps be because "something" in between you and server is
dropping the control connection? I'm thinking of firewalls/NATs etc that
keep connections around only for a limited time when there's no traffic
on them and libcurl has no traffic on that connection during the entire
data transfer...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-04