cURL / Mailing Lists / curl-users / Single Mail

curl-users

more finegrained timeouts?

From: Manfred Schwarb <manfred99_at_gmx.ch>
Date: Tue, 25 Apr 2006 11:36:43 +0200 (MEST)

Hi,

I do ftp downloads using the options
--connect-timeout 20 -w "Timings: %{time_connect} : %{time_pretransfer} :
%{time_starttransfer} : %{time_total} seconds\n"

and I frequently get things like
Timings: 0.106 : 54.165 : 55.055 : 186.198 seconds

You see my problem. I'd like to cancel such downloads (I have seen
values up to 300 seconds for time_pretransfer!),
but --connect-timeout does not help in this case.
And --speed-limit or --max-time is not appropriate either.

Is it possible to add something like --pretransfer-timeout ?
Or are there other possiblities to kill the download in this case?

Thanks,
Manfred

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
Received on 2006-04-25