cURL / Mailing Lists / curl-users / Single Mail

curl-users

prompting for password when username is specified in URL

From: Jeremy Lin <jeremy.lin_at_gmail.com>
Date: Thu, 9 Jan 2014 18:47:39 -0800

Currently it seems that you need to pass -u to get curl to prompt for a
password, so something like 'curl -O sftp://user@example.com/foo.txt'
wouldn't prompt for a password, but would end up passing an empty password
instead.

Is there a good reason for this behavior, or is it just that no one's
implemented it yet?

Thanks,
Jeremy

-------------------------------------------------------------------
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 2014-01-10