cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: setting max. filesize to retrieve

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 24 Aug 2003 12:40:00 +0200 (CEST)

On Sat, 23 Aug 2003, Folkert van Heusden wrote:

> It would be nice if there was an option with which you can set the maximum
> number of bytes to retrieve.
> E.g.:
> - do not get at all if too large (and exit with a special exit-value)

This is a feature mentioned in the TODO file that I'd like to see in a future
version.

> - only get maximum the number of selected bytes

I don't understand. Can't --range do this for you?

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
Received on 2003-08-24