cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Ranged downloads on file:// URLs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Dec 2007 12:38:19 +0100 (CET)

On Fri, 28 Dec 2007, Daniel Egger wrote:

> I noticed something strange while writing a download'n'flash tool for a DSL
> router: file:// URLs do not support ranged "downloads" which basically means
> that I can at the moment not use libcurl for this purpose like I would for
> FTP or HTTP downloads.
>
> Is this intentional?

No, it's not really intentional. I think it's just a case of nobody ever tried
it and we have no test case testing it...

> Does someone have a patch to implement this?

It should already work, but apparently it doesn't...

> Would be a patch to implement this feature likely be accepted?

Yes it would. Bonus points would be handed out if the patch also provides one
or more test cases for the feature! ;-)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-12-28