cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURL and vsFTPd problem

From: Dragomir Ivanov <kmakaron_at_mail.bg>
Date: Thu, 16 Aug 2007 10:12:51 +0300

Hi, I have strange problem.
I set user and pass, as usual, but when I DEBUG session,
they appear not to be sent.

curl_easy_setopt(handle,CURLOPT_USERPWD,(user+":"+pass).c_str());
...
user and pass, surely are not empty, and the account is
active. I can logon with ftp commnad tool.
There is debuged session:

About to connect() to 10.87.101.1 port 21 (#0)
Trying 10.87.101.1...
connected
Connected to 10.87.101.1 (10.87.101.1) port 21 (#0)
220 (vsFTPd 2.0.5)
USER
331 Please specify the password.
PASS
503 Login with USER first.
Access denied: 503
Closing connection #0

I don't see USER and PASSWORD to be sent.
What may caused this problem?

Thank you.

--
Linux Rulez!
-----------------------------
БТК ADSL вече 2 пъти по-бърз от преди
2 Mb БТК ADSL само за 15,49 лв/мес.
Включи се в Центровете на БТК, на 0800 100 или в партньорската мрежа.
http://www.btc.bg/bg/more_fast_adsl.php
Received on 2007-08-16