SFTP C ++库? [英] SFTP C++ library?

查看:702
本文介绍了SFTP C ++库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以推荐一个体面的SFTP库用于Windows C ++应用程序?如果跨平台可用,那么所有更好,但它不是必要的。



我使用了极好的 Ultimate TCP / IP 库支持FTP-S但不支持SFTP(是的,我知道,混淆不是!)。



我遇到了 Chilkat 库,看起来很不错,但想知道是否有其他人使用过。

解决方案

查看libcurl


libcurl是一个免费且易于使用的客户端网址传输库,支持FTP,FTPS,HTTP,HTTPS,SCP,SFTP,TFTP,TELNET,DICT,LDAP,LDAPS和FILE。 libcurl支持SSL证书,HTTP POST,HTTP PUT,FTP上传,HTTP表单上传,代理,cookies,用户+密码认证(基本,Digest,NTLM,协商,Kerberos4),文件传输恢复,http代理隧道等! / p>

libcurl是高度可移植的,它在许多平台上构建和工作相同,包括Solaris,NetBSD,FreeBSD,OpenBSD,Darwin,HPUX,IRIX,AIX,Tru64,Linux,UnixWare ,HURD,Windows,Amiga,OS / 2,BeOs,Mac OS X,Ultrix,QNX,OpenVMS,RISC OS,Novell NetWare,DOS等...



Can anyone recommend a decent SFTP library for use with Windows C++ apps? If a cross-platform one is available then all the better, but it's not essential. It's for use with a commercial application, so paying for something isn't an issue.

I am using the superb Ultimate TCP/IP library which supports FTP-S but not SFTP (yeh, I know, confusing isn't it!).

I've come across the Chilkat library, which looks very good, but wondered if there are any others that people have used.

解决方案

Check out libcurl.

libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more!

libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...

这篇关于SFTP C ++库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆