cURL / Mailing Lists / curl-library / Single Mail


Re: Download from ftp (folders) in exact order of directories on HDD

From: Daniel Stenberg <>
Date: Fri, 4 Apr 2014 23:39:47 +0200 (CEST)

On Tue, 1 Apr 2014, Stojan Veljkovic wrote:

> What I tried is to setopt CURLOPT_URL to localhost/updater where this
> folder hierarchy is(as shown above).

You're using the easy interface, right? Then just do one at a time and it'll
be fine.

> and FILE *stream argument passed to function my_fwrite is stream.filename =
> data/sounds/intro1.wav.

> But when i try to do that i get error 23.

Then show us what your write function does and what it returns. You probably
returned the wrong value.

List admin:
Received on 2014-04-04