cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem saving to file using multi

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 1 Oct 2014 08:20:49 -0500

On Wed, Oct 1, 2014 at 7:41 AM, Peter Roomer <proomer_at_mail.com> wrote:

> Thanks, that cleared up a few things. I made some changes and now it writes
> to the file but I also get some error 23 on some downloads. Could it be that
> the pagefile is blocked and thus creates the error? Do I need to use 10
> pagefiles for the error to go away or could I just change the file name for
> each download? Any help appreciated!.The code now looks as follows:

The multi API tries to download as many URLs as possible at the same time,
grabbing chunks of each one as it goes, in no certain order. I don't see
how you could save anything meaningful to a local file unless each easy
handle has its own unique local filename.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-01