cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Archives

Re: cURL and downloading audio

From: Daniel Stenberg <daniel_at_haxx.se>
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.html
Received on 2011-08-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET