cURL / Mailing Lists / curl-library / Single Mail


Re: dowload a not existing file

From: Daniel Stenberg <>
Date: Tue, 8 Jan 2002 14:21:07 +0100 (MET)

On Tue, 8 Jan 2002, raoul cridlig wrote:

> > Well, you know the file exists when your callback gets called. Delay the
> > file creation until the callback is called the first time...
> Could u tell me how exactly to do with the ftpget.c example code ?

Is that really so hard?

Anyway, I patched the ftpget.c to become somewhat more complicated and now it
delays the file creation to the first callback invocation:

    Daniel Stenberg -- curl groks URLs --
Received on 2002-01-08