cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP support in curl library.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Mar 2009 15:14:13 +0100 (CET)

On Fri, 20 Mar 2009, Girish Kolari wrote:

> Since SFTP support for curl require libssh I built curl source with libssh
> support. The generated curl application is supporting SFTP but library built
> for curl does not support SFTP.

Note that the name of the lib used for this is "libssh2". The number 2 in
there is vital. www.libssh2.org is the place. There's another project using
the name you mention and while that is a library with a similar purpose, it
can't be used with libcurl.

> 1. Build libssh.
> 2. Configured curl with libssh.
> 3. Build curl
>
> Result: built curl executable support SFTP but libcurl built does not detect
> SFTP protocol(It returns unsupported protocol).

You should be able to note this already at step 2 where the configure script
failed to detect and use the SSH library.

-- 
  / daniel.haxx.se
Received on 2009-03-20