curl-users
Re: speed-time / speed-limit not work & manual page and help page say oppostite switch use?
Date: Sat, 12 Oct 2002 14:30:25 +0200 (MET DST)
On Fri, 11 Oct 2002, RiCH wrote:
> According to man page (curl -M)
curl -M actually shows both the man page and the docs/MANUAL combined.
> To have curl abort the download if the speed is slower than 3000 bytes per
> second for 1 minute, run: "curl -y 3000 -Y 60 www.far-away-site.com"
That's a mixup, yes. It should be -Y 3000 -y 60, and I've corrected this now.
> So i try
> curl -y 1 -Y 9999999 www.far-away-site.com
Really? I tried it too just now:
$ curl ftp.sunet.se/ls-lR -o /dev/null -y 2 -Y 1000000
[progress meter display cut out]
curl: (28) Operation too slow. Less than 1000000 bytes/sec transfered the
last 2 seconds
> Why are the switches back to front? , which is correct ?
As shown above.
> Does it not work or am I missing somehting obvious?
Works For Me (tm). Weirdly enough...
> Any other ways to achieve my solution? (cannot use -m as connection is slow
> etc and can timeout b4 form POSTs correctly)
I would be perfect if you could come up with a reproducable way to repeat
this problem, so that others too can see it happen as then it'll be a piece
of cake to debug and fix once and for all and it'll be much rejoicing.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-10-12