cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLE_OPERATION_TIMEDOUT when FTP upload with large files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 31 May 2009 20:18:49 +0200 (CEST)

On Sun, 31 May 2009, A-ZYSTEMS wrote:

> When I upload a file less as 40 MB, i have no problems. When I load a bigger
> file (for example 56 MB) "curl_easy_perform" return a
> CURLE_OPERATION_TIMEDOUT. But the uploaded file is complete save on the
> ftp-Server.

It sounds like the typical case of the control connection having timed-out
(through a firewall or NAT) by the time the data connection is complete. The
only sensible thing you can do to fix that problem is to extend the timeouts.

-- 
  / daniel.haxx.se
Received on 2009-05-31