cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and libssh2

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 9 Oct 2009 10:32:39 +0200

On Friday 09 of October 2009 10:28:04 Xu, Qiang (FXSGSC) wrote:
> > http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTURL
>
> So, can I say that if the url starts with "sftp://...", then an operation
> of ====================
> curl = curl_easy_init();
> curl_easy_setopt(curl, CURLOPT_URL, "sftp://...");
> ====================
> would guarantee the oncoming file transfer would be FTP over SSH2? That is
> to say, libcurl.so would call libssh2.so to transfer files on finding the
> url begins with "sftp://", right?

According to link above and its descendant links, I think so.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-09