良好的免费FTP客户端库(适用于Windows C ++商业应用程序)? [英] Good free FTP Client Library (for Windows C++ commercial apps)?

查看:103
本文介绍了良好的免费FTP客户端库(适用于Windows C ++商业应用程序)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个具有公共域或BSD类许可证的良好开源Windows FTP客户端库。一些我可以访问源代码的东西,我可以在商业应用程序中使用C ++ for Windows应用程序。



我们已经使用了Wininet多年,并且它有错误且很糟糕。最后一根稻草是IE8 beta 2在InternetGetLastResponseInfo()中包含一个新的错误。当我们的用户可以安装IE的最新版本并破坏我们的应用程序时,我无法再证明使用Wininet的理由。



我看过libcurl,但对我们来说太重了需要。我唯一需要的是FTP支持。如果可能的话,我可以花一天剥去libcurl中所有我不需要的代码,但我宁愿从一个简单的FTP客户端库开始。



我看着ftplib( http://nbpfaus.net/~pfau/ftplib/ ),但它是GPL,我需要这个为一个封闭源代码的商业应用程序。



之前我写过FTP客户端代码,这并不难(不幸的是它是15年前,我没有再有源代码)。必须有一个很好的简单的免费客户端库,除FTP之外什么也不做,并且有一个可以在闭源商业应用程序中使用的许可证。



(如果您好奇,错误是如果您尝试使用FTP站点(无法建立被动模式连接)尝试使用FtpFindFirstFile(),InternetGetLastResponseInfo( )并没有返回完整的响应,这只是我多年来发现的许多错误之一,另一个是Wininet的FTP支持忽略了所有的超时值,这个特定的错误已经存在多年了。)

解决方案

您需要现在免费的Ultimate TCP / IP!

http://www.codeproject.com/KB/MFC/UltimateTCPIP.aspx



你得到FTP。 HTTP,SMTP,POP等等。



你不会后悔的。


I'm looking for a good open source Windows FTP client library with a public domain or BSD-type license. Something that I have access to the source code and I can use it from C++ for Windows applications in a commercial app.

We have used Wininet for years and it's buggy and horrible. The last straw is the IE8 beta 2 contains a new bug in InternetGetLastResponseInfo(). I can no longer justify using Wininet when our users can install the latest version of IE and break our app.

I have looked at libcurl but it is way too heavy for our needs. The only thing I need is FTP support. I could spend a day stripping out all the code in libcurl I don't need, but I'd rather just start with a nice simple FTP client library, if possible.

I looked at ftplib (http://nbpfaus.net/~pfau/ftplib/) but it's GPL and I need this for a closed-source commercial app.

I've written FTP client code before, it's not that hard (unfortunately it was 15 years ago and I don't have the source code anymore). There must be a nice simple free client library that does nothing but FTP and has a license that can be used in closed-source commercial apps.

(If you are curious, the bug is that if you attempt to FtpFindFirstFile() with an FTP site where you can't make a passive-mode connection, InternetGetLastResponseInfo() doesn't return the full response. This is just one of many bugs I've found over the years. Another is that Wininet's FTP support ignores all timeout values. That particular bug has existed for years.)

解决方案

You need Ultimate TCP/IP which is now free!

http://www.codeproject.com/KB/MFC/UltimateTCPIP.aspx

You get FTP. HTTP, SMTP, POP and more.

You won't regret it.

这篇关于良好的免费FTP客户端库(适用于Windows C ++商业应用程序)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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