[olug] sftp using cURL

Christopher Cashell topher-olug at zyp.org
Sat May 9 23:04:32 UTC 2009

On Sat, May 9, 2009 at 11:53 AM, DYNATRON tech <dynatron at gmail.com> wrote:
> it doesn't list supported protocols, but the inclusions of the openSSL
> version suggests to me that it would support encrypted connections (sftp).

The inclusion of OpenSSL doesn't mean that it supports sftp.  sftp
requires a lot of additional work than just OpenSSL.

Also, as was mentioned elsewhere, there is sftp and ftps.  sftp
utilizes the ssh protocol for file transfers, much the same as scp.
ftps is ftp run over an SSL connection (analogous to https).
OpenSSL's inclusion will likely give you ftps support in curl, but is
unlikely to give you sftp support.

If either is supported, they'll likely be listed separately:

topher at nexus:~$ curl -V
curl 7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
zlib/ libidn/1.14 libssh2/1.0
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz


More information about the OLUG mailing list