cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSH tutorial

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 17 Sep 2010 12:45:22 -0700

On Fri, Sep 17, 2010 at 10:40:05AM -0700, Abhishek Madaan wrote:
> Thanks for the reply. I want to use with my code. I thought since libcurl
> supports SFTP it can be possible with curl command tool. If anyone can give me
> example of just the usage of SFTP in libcurl i will really appreciate it.

As I said, get curl to do the transfer you want, then use the --libcurl option.
curl will then *write the code for you*. It won't be perfect, but it will be
a good starting point. The first step is to read the voluminous documentation
available at documentation at http://curl.haxx.se/docs/ and
http://curl.haxx.se/libcurl/

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-17