cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error in ftpget.c example?

From: Juan Manuel Lopez Baio <jmbaio_at_gmail.com>
Date: Tue, 19 Sep 2006 13:40:25 -0300

On 9/19/06, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> There's no way for my_fwrite to know when the file is finished downloading,
> so it can't know when to close it. It could open and close it each time,
> but that would be really inefficient.

yeah! I just realized that after a while of perplex staring at the
screen wondering why I was downloading bogus files, cut in size
(except for the small ones (<=16K))...
duh!
I guess I'm running low on coffe :p

Thanks,

Juan

(actually, we're using mate instead of coffe, but you need _a lot_
more of it to get the same effect... ;)

> >>> Dan
Received on 2006-09-19