> "ssl enabled" then means using OpenSSL I guess. Which OpenSSL version?
Openssl version 0.9.7b
> Does using VERBOSE give any additional clues?
It says "FTP response reading failed"
> What if you rebuild and rerun with the latest libcurl, does it still fail the
> same way? If so, can you provide us with a small sample application source
> code that would repeat the problem?
Trying with latest build, but here's the code snippet that I use -
//test ftps connection
CURLM *multi_handle = curl_multi_init();
curl_easy_setopt(curl, CURLOPT_FTP_FILEMETHOD,
CURLFTPMETHOD_SINGLECWD);
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION,
getcontentlengthfunc);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, discardfunc);
curl_easy_setopt(curl, CURLOPT_READFUNCTION, readfunc);
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1);
curl_easy_setopt(curl, CURLOPT_FTP_USE_EPSV, 1);
curl_easy_setopt(curl, CURLOPT_FTP_USE_EPRT, 1);
curl_easy_setopt(curl, CURLOPT_DNS_USE_GLOBAL_CACHE, (long)0);
curl_easy_setopt(curl, CURLOPT_VERBOSE, (long)1);
curl_easy_setopt(curl, CURLOPT_PORT, (long)25);
curl_easy_setopt( curl, CURLOPT_USE_SSL, CURLUSESSL_CONTROL);
curl_easy_setopt( curl, CURLOPT_FTPSSLAUTH, CURLFTPAUTH_DEFAULT
);
curl_easy_setopt( curl, CURLOPT_SSLVERSION,
CURL_SSLVERSION_DEFAULT );
curl_easy_setopt( curl, CURLOPT_FTP_SSL_CCC,
CURLFTPSSL_CCC_NONE );
curl_easy_setopt( curl, CURLOPT_SSL_VERIFYPEER, 0 );
curl_easy_setopt( curl, CURLOPT_SSL_VERIFYHOST, 0 );
curl_easy_setopt( curl, CURLOPT_CERTINFO, (long)1 );
curl_easy_setopt(curl, CURLOPT_URL,
"ftp://VAIDYA-PC%5Cftpuser:P%40$$w0rd@vaidya-pc:25/testdelete/");
curl_easy_setopt(curl, CURLOPT_POSTQUOTE, NULL);
curl_easy_setopt(curl, CURLOPT_QUOTE, NULL);
curl_easy_setopt(curl, CURLOPT_PREQUOTE, NULL);
curl_easy_setopt(curl, CURLOPT_NOBODY, (long)1);
curl_easy_setopt(curl, CURLOPT_UPLOAD, (long)0);
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, NULL);
curl_easy_setopt(curl, CURLOPT_FILETIME, NULL);
curl_easy_setopt(curl, CURLOPT_TIMEOUT, (long) 0);
curl_easy_setopt(curl, CURLOPT_FTPLISTONLY, 0);
curl_easy_setopt(curl, CURLOPT_TRANSFERTEXT, 1);
curl_easy_setopt(curl, CURLOPT_FTPPORT, NULL);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0);
curl_multi_add_handle(multi_handle,curl);
CURLcode ret = Multi_Run(multi_handle,curl) //the select + info read
loop
Instead of multi_perform, if I call an easy_perform it works.
>What server software are you using ftp-ssl again, do you know?
IIS 7.0
>Do you use it against multiple softwares/versions and still get the same
>problems?
Haven't tried this
Thanks,
Vishakha
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html