curl-library
Re: Download from ftp (folders) in exact order of directories on HDD
Date: Tue, 1 Apr 2014 03:49:13 +0200
I need to make an updater for a game, that will download all the files and
place them in appropriate folder.
This is directory hierarchy in updater:
-root
|-data
| |--sounds
| |--textures
| |--backgrounds
etc
and i want to download files from those folders, and place them in same dir
hierarchy.
What I tried is to setopt CURLOPT_URL to localhost/updater where this
folder hierarchy is(as shown above).
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.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-01