cURL / Mailing Lists / curl-library / Single Mail

curl-library

AW: How to include sftp support in libcurl

From: <Alexander.Elgert_at_external.t-systems.com>
Date: Mon, 22 Apr 2013 17:46:12 +0200

> Von: curl-library [curl-library-bounces_at_cool.haxx.se] im Auftrag von Yong Liaw [yong.liaw_at_transmax.com.au]
> Gesendet: Montag, 22. April 2013 03:05
> An: curl-library_at_cool.haxx.se
> Betreff: How to include sftp support in libcurl
>
> Hi,
>
> I am new to libcurl.
>
> I have downloaded and build libcurl from the source using MSVC. But when I run the sample program sftpget.c, it gives an error message saying sftp protocol is not supported or disabled.
>
> How can I include the sftp when building the libcurl? I already have libeay32.dll and ssleay32.dll in my development path. Do I need libssh2.lib as well for sftp?
>
> Thank you.
>

Does this help you?
'./configure' '--prefix=/curl' '--with-ssl=/curl' '--disable-manual' '--disable-lber' '--disable-ldap' '--disable-nls' 'CFLAGS=-g'

  TLS-SRP support: enabled
  resolver: default (--enable-ares / --enable-threaded-resolver)
  ipv6 support: enabled
  IDN support: no (--with-{libidn,winidn})
  Build libcurl: Shared=no, Static=yes
  Built-in manual: no (--enable-manual)
  --libcurl option: enabled (--disable-libcurl-option)
  Verbose errors: enabled (--disable-verbose)
  SSPI support: no (--enable-sspi)
  ca cert bundle: no
  ca cert path: no
  LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
  LDAPS support: no (--enable-ldaps)
  RTSP support: enabled
  RTMP support: no (--with-librtmp)
  metalink support: no (--with-libmetalink)
  Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP

FTPS is active with these features enabled

Greetings,
Alexander

----
--
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)
E-Mail: alexander.elgert_at_gmx.de
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-22