curl-users
Re: cURL and downloading audio
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Aug 2011 00:03:11 +0200 (CEST)
Date: Tue, 9 Aug 2011 00:03:11 +0200 (CEST)
On Fri, 5 Aug 2011, Dave Higgins wrote:
> I'm wondering if the --max-time variable will help, e.g. curl --max-time 30,
> is that only going to download for 30 second before dying or is that going
> to download until done and then die if nothing happens for 30 seconds?
--max-time 30 will make the transfer get aborted after 30 seconds if it is
still going on.
You probably want to look into the --speed-time and --speed-limit options!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-08-09