cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP connect failing with error 9

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Sep 2011 12:02:15 +0200 (CEST)

On Wed, 14 Sep 2011, Arun venkatesh wrote:

Please don't top-post.

> curl_easy_setopt(curl,CURLOPT_USERNAME,"user01");
> curl_easy_setopt(curl,CURLOPT_PASSWORD,"xyzabc");

Check the return code from these!

>> PASS curl_by_daniel_at_haxx.se
> < 530 Login or password incorrect!

> im not sure why teh USER and PASS commands are going anonymous though i have
> set the username and password to a different ones..

I'd say the most likely reason is that your application uses an older libcurl
when it runs, and that version doesn't know about those options...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-14