cURL / Mailing Lists / curl-library / Single Mail


FTP response timeout

From: Jeff McKay <>
Date: Wed, 27 Jun 2012 14:16:14 -0700

I have seen an earlier response to the question of what error #28 in ftp
but didn't quite understand it. Looking at the log of my ftp session,
it appears
that libcurl uploads the entire file (about 350 megs) based on the data
received. At the end, I get "FTP response timeout, control connection
looks dead".
This does not seem to happen with smaller files. Is this my problem, or
with the
ftp server? If my problem, what can I do about it?

I am experimenting with CURLOPT_FTP_RESPONSE_TIMEOUT but have not gotten
the results yet from my customer. From the documentation, it seems that
this option, libcurl defaults to CURLOPT_TIMEOUT which I do not set,
the wait is infinite? But I still get the ftp timeout error.

List admin:
Received on 2012-06-27