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
