cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl connects to a SFTP, bot doesn't show content of a directory

From: Yura Kaidalov <kaidalov_at_gmail.com>
Date: Thu, 29 Dec 2011 11:03:10 +0200

Hello

Curl connects to a SFTP, bot doesn't show content of a directory, here's
command line and output:
    curl -l -v -u "uname:password" sftp://XX.XXX.X.XX/~/
    * About to connect() to XX.XXX.X.XX port 22 (#0)
    *   XX.XXX.X.XX... connected

In addition. it looks like curl ignores -u option, as when I use an invalid
uname:pass, it writes the same output.

Can you point me, what I'm doing wrong and why curl doesn't show me
directory's content? Version of curl is: 7.23.1.0

Thanks,
Yuri

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-29