cURL / Mailing Lists / curl-library / Single Mail


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

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

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 =

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


List admin:
Received on 2014-03-30