我应该使用什么Java FTP客户端库? [英] What Java FTP client library should I use?

查看:96
本文介绍了我应该使用什么Java FTP客户端库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我没有收到我的上次的正面答案题。我会尝试自己编写一个Java FTP上传小程序。



我的问题是:您能推荐一个Java FTP客户端库供我使用吗?



我希望它是:


  • 稳定

  • 能够处理被动和主动模式

  • 能够提供上传进度信息
  • 如果出现问题,会抛出可捕获的异常(特别是当上传不成功)

  • 便宜/免费使用,最好是开源的



我发现这是 overview ,但由于这篇文章是从2003年开始的,发生:)

解决方案

检查Apache commons-net ,con保留FTP实用程序。我不知道它是否满足您的所有要求,但它肯定是免费的!


Since I received no positives answers to my last question. I will try to write a Java FTP upload applet myself.

My question is: "Can you recommend a Java FTP client library for me to use?"

I want it to be:

  • stable
  • able to handle passive and active modes
  • able to provide upload progress information
  • throw catchable exceptions if something went wrong (especially when an upload does not succeed)
  • cheap/free to use, preferably open source

I found this overview of some libraries, but since this article is from 2003, maybe some new developments have happened :)

解决方案

Check out Apache commons-net, which contains FTP utilities. Off the top of my head I'm not sure if it meets all of your requirements, but it's certainly free!

这篇关于我应该使用什么Java FTP客户端库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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