curl-library
Re: Using CURLOPT_FTP_CREATE_MISSING_DIRS
Date: Fri, 1 Oct 2004 11:34:32 -0400
The version of libcurl is 7.11.2.
Following is the definitions of lMissingDirs: long lMissingDirs = 1;
The curl_easy_setopt() function returns CURLE_OK.
Thanks.
Daniel Stenberg <daniel-curl_at_haxx.se>
Sent by: curl-library-bounces_at_cool.haxx.se
09/30/2004 02:34 PM
Please respond to
libcurl development <curl-library_at_cool.haxx.se>
To
libcurl development <curl-library_at_cool.haxx.se>
cc
Subject
Re: Using CURLOPT_FTP_CREATE_MISSING_DIRS
On Thu, 30 Sep 2004 Don_Marino_at_May-Co.com wrote:
> I have set this option using curl_easy_setopt but it does not appear to
be
> doing what I think it ought to do. I think it ought to create the
directory
> if it does not exist.
What libcurl version is this? It seems you might be using a version that
doesn't support this option, but yet your header file has it defined!
> => Send header, 9 bytes (0x9)
> 0000: CWD isp
> <= Recv header, 37 bytes (0x25)
> 0000: 550 isp: No such file or directory.
This should've been followed by a MKD and then a CWD again to that dir.
> curl_easy_setopt( curl,
> CURLOPT_FTP_CREATE_MISSING_DIRS,
> lMissingDirs );
I assume lMissingDirs is a 'long' that is non-zero here?
What does the curl_easy_setopt() function return here?
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-10-01