cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with FTP url with CURLOPT_CUSTOMREQUEST

From: Uday Singh <usingh_at_yahoo.com>
Date: Tue, 31 Dec 2002 13:21:36 -0800 (PST)

Hi,

I am trying to using the libcurl to perform FTP related stuff. In the
processing I was trying to MKD (make a directory) using the CUSTOMREQUEST
feature.

This is what I am doing:
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "MKD test_dir");
curl_easy_perform(curl);

The return code from the perform is 19 (CURLE_FTP_COULDNT_RETR_FILE). But when
I go look at the ftp server it has infact created that directory.

Is this a known bug or is there something I am doing wrong? I am able to NLST,
LIST, RETR file and so on. I am not able to do the MKD (though it succeeds, but
reports an error).

If it is a bug then I need to make a change to the code I guess. Help from any
of you will be greatly appreciated.

Thank you.

- Uday

=====

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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