curl-library
Re: Example C++ code to "read/pull" an FTP file in small chunks
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 24 Nov 2010 00:03:46 -0800
Date: Wed, 24 Nov 2010 00:03:46 -0800
On Mon, Nov 22, 2010 at 08:41:45PM -0500, Rich Chomiczewski wrote:
> I'm looking for some example C++ code to read an FTP file just like any other
> file i.e. read/pull the file in variable-length chunks. Specifically, I need
> to implement an interface like this (without having to first download the
> entire file ahead of time):
This sounds very similar to the interface provided in the
docs/examples/fopen.c example program. You'll need to use the multi
interface to get this kind of behaviour, regardless.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-24