cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP CURLOPT_RANGE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 29 Nov 2005 12:45:57 +0100 (CET)

On Tue, 29 Nov 2005, Valsala Kumar wrote:

> Now when i try to read a file of size > 2GB, thru FTP am not getting the
> right buffer that i was expecting when i use CURLOPT_RANGE. I am also not
> aware of which bytes are being read.

Then show us what you do and what libcurl does and gets.

And tell us what libcurl version you're using on what platform.

> Does CURLOPT_RANGE support for files greater than 2GB when using FTP.

Yes. But some servers aren't properly support REST to a value greater than 2GB
so it might not work everywhere.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-11-29