curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Resuming parallel downloads doesn't seem to work

From: Jared Fowkes via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 7 Apr 2022 08:38:40 -0500

Curl presents an error for sites that do not support resuming, I see it
when I forget to add the cookie headers, and Firefox is able to resume
transfers where it left off.

When I was monitoring the end of one I let complete yesterday, curl
reported that it was downloading at about 9MB/s (verified using task
manager) for about 5 - 10 minutes, but the files were all 100% of their
expected size and did not change size during that time, the end of which
curl successfully completed.

My guess is that curl is working as expected and that my expectations are
flawed. Perhaps it is preallocating the space in the files and then
filling it in, storing it in memory or a temp file somewhere before writing
it to disk, or I'm not monitoring it closely enough?


On Wed, Apr 6, 2022 at 5:11 PM Bill Mercer via curl-users <
curl-users_at_lists.haxx.se> wrote:

> I have also tried moving "-C -" before {URL}, but nothing changed. Curl
> appears to resume the download, but the output file size remains the same.
>
>
>
> Are you sure the server supports resuming transfers?
>
>
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-04-07