cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl download limit

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Sep 2009 11:43:03 +0200 (CEST)

On Mon, 21 Sep 2009, Rafi Neumann wrote:

> We are having trouble with using POST in curl_init,

curl_init is a function in the PHP/CURL binding so I think you might be better
off on the curl-and-php mailing list. This list is for the curl command line
tool.

> curl_setopt($EbHandle, CURLOPT_RANGE, "0-7120");

Range is only a hint to the server that it may ignore. You then need to stop
the download yourself when you've gotten "enough" data.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-22