cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Stojan Veljkovic <cola14_at_gmail.com>
Date: Sun, 30 Mar 2014 04:56:40 +0200

Hello,
I'm trying to make an auto updater with libcurl, and made a list of files
with md5 digest that also brings the list where files are stored.
So far I'm having trouble setting libcurl to download file from folder
(example localhost/updater/folder1/folder2/item.dat) to place where
application is, inside the same directory tree (example: folder1/folder2/).

My URL in setopt is set to localhost/updater/ and as stream->filename i get
the string of full path of the file (example: stream.filename =
/folder1/folder2/item.dat).

I wonder if that is possible to do in libcurl.
Thanks in advance.

-- 
ÁÚÕøâ Þà ´Ðø

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-30