cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to enable SFTP with curl 7.19.2 on UNIX

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 11 Mar 2009 18:42:16 +0100 (CET)

On Wed, 11 Mar 2009, Dong Zhou wrote:

> I donwloaded curl source file, curl-7.19.2..tar.gz, from curl.haxx.se and
> complied it on AIX 5.3. FTP works fine but SFTP does not. I got an error
> message as below:
>
> * Protocol sftp not supported or disabled in libcurl
> curl: (1) Protocol sftp not supported or disabled in libcurl
>
> How can I enable SFTP?

First install libssh2 and associated headers, then run curl's configure script
again, possibly using --with-libssh2 and rebuild.

http://www.libssh2.org is the home of the libssh2 project.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2009-03-11