cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to use curl to upload file using scp

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Mar 2010 22:47:48 +0100 (CET)

On Mon, 22 Feb 2010, Mangesh Kute wrote:

> I want to use scp protocol to upload file using culr tool.
> How can I do that ?

curl -T [file] scp://example.com/

> Can I specify username and password on command line while using scp via curl
> ?

Yes.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2010-03-01