Re: Difference between CURLE_FTP_USER_PASSWORD_INCORRECT and CURLE_LOGIN_DENIED ?
Date: Mon, 10 Apr 2006 00:34:56 +0200 (CEST)
On Mon, 10 Apr 2006, Silex wrote:
> When I put a wrong username or password to log to a FTP I always get the
> error 67 (CURLE_LOGIN_DENIED).
> While I'm totally ok with that I wonder what's the use of error 10
> (CURLE_FTP_USER_PASSWORD_INCORRECT), and if my code should be prepared for
> such an error as I never saw it occur.
> Is that some kind of old error left in or does it really happen ? The
> documentation is not really explicit on this, both seems to apply for an
> incorrect username or password...
Good catch! The CURLE_FTP_USER_PASSWORD_INCORRECT is not used anywhere in
current libcurl. I'll fix the docs/code to make it obvious.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-04-10