cURL / Mailing Lists / curl-library / Single Mail

curl-library

Does libcurl automatically create directories in FTP?

From: Guido Reina <guidoreina_at_isdn-si.com>
Date: Wed, 9 Oct 2002 22:23:01 +0200

Hi again,

Imagine I want to upload the local file c:\file to ftp://<ip>/1/2/3/, does libcurl create the directories /1/2/3/ if they don't exist? or do I have to do something like this:

headerlist = curl_slist_append(headerlist, "1");
headerlist = curl_slist_append(headerlist, "2");
headerlist = curl_slist_append(headerlist, "3");
headerlist = curl_slist_append(headerlist, "RNFR /1/2/3/file");

Thanks in advance.

Guido.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-09