cURL / Mailing Lists / curl-library / Single Mail

curl-library

ftp+multithreaded+timeouts

From: Arthur Kluba <akluba_at_tecon.de>
Date: Thu, 11 Jul 2002 10:55:11 +0200

hallo,
i'm writing a multi-threaded application and want to
use curl for ftp transfer.
i know i can use CURLOPT_LOW_SPEED_LIMIT and
CURLOPT_LOW_SPEED_TIME to control the timeouts
durring the transfer but with them i cant control
the connection timeouts.
i found this timeout hardcoded in ftpgetresponse (ftp.c)
and it has the value of 60 min.
is it clever to take it out and make it configurable or are there
other way to control connection timeouts.

thanks
Arthur

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
Received on 2002-07-11