cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SFTP question from curl newbee

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 24 Jul 2008 13:58:51 -0700

On Thu, Jul 24, 2008 at 03:42:35PM -0500, Brian.Yordy_at_emerson.com wrote:
> Dan, Thanks for your response! I think my issue may be related to some
> confusion on my part. I am wanting to use curl to transfer a file using
> sftp (which I believe is the ssh protocol) not ftps (which is the ssl
> protocol). That probably explains the error that I am getting. If I am

Yes, that would explain it.

> way off base please let me know. My next question is how do I use SFTP
> from curl or where can I find an example of SFTP using curl? I did not
> see a clear example of how to use SFTP in the man pages or in the online
> documentation but I am still looking.

curl --manual |grep sftp:
will give you an example. Search the rest of the manual for "sftp" for
more options relevant to it.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-07-24