Hello,
I need to use libcurl for creating a folder in my home directory. I use the following set of code for this:
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "mkdir MyFolder");
curl_easy_setopt(curl, CURLOPT_QUOTE, headers);
I have given the ftp server-path, user name, password. But, I get the error '500 COmmand not understood'.
I tried using 'pwd' command instead of 'mkdir MyFolder'. It worked without any error.
Can some one help me out to solve this problem.
Thanks in advance.