java 开源ftp_开源FTP服务器apache-ftpserver-1.0.6版本下载

一、软件简介

Apache FtpServer是100%纯Java FTP服务器。它的设计是一个完整的FTP服务器引擎和便携式解决方案基于目前可用的开放协议。FTP服务可以独立运行为Windows服务或UNIX / Linux守护进程,或嵌入到Java应用程序。我们也支持集成在Spring应用程序和提供我们的版本为OSGi包。默认网络的支持是基于Apache MINA的,高性能的异步IO库。使用Mina,FTP可以大量并发用户。这也是一个FTP应用平台。我们已经开发了一个Java API让你写Java代码来处理FTP事件通知,我们称之为ftplet API。Apache FTP FTP服务器的实现提供了一个支持这个API。

The Apache FtpServer is a 100% pure Java FTP server. It's designed to be a complete and portable FTP server engine solution based on currently available open protocols. FtpServer can be run standalone as a Windows service or Unix/Linux daemon, or embedded into a Java application. We also provide support for integration within  Spring  applications and provide our releases as OSGi bundles.    The default network support is based on Apache MINA , a high performance asynchronous IO library. Using MINA, FtpServer can scale to a large number of concurrent users.    It is also an FTP application platform. We have developed a Java API  to let you write Java code to process FTP event notifications that we call the Ftplet API. Apache FtpServer provides an implementation of an FTP server to support this API...

二、使用教程

1. 下载解压apache-ftpserver-1.0.6,修改配置文件(/res/conf下),找到“ftpd-typical.xml”,打开,修改默认端口(21),如下图所示

7c2ea1f94c0c443f408a05dc19fc2af0.png

2. 打开users.properties文件配置用户账号及路径等信息,如下图

cf48c33ae62ac8442161661614c52129.png

3. 到根目录下,进入bin目录,运行MyStart.bat批处理文件,如下图所示,ftp服务就启动成功了(本ftp服务基于jvm运行,启动之前必须在环境变量中配置JAVA_HOME、path环境变量,否则启动不了)

3edcfc773380afe1f34710400944a85f.png

三、ssh命令启动

1. 方式一 -  后台默认线程启动(不因ctrl+c或窗口关闭服务进程)[root@raid2t bin]# nohup  /home/ftp/bin/ftpd.sh res/conf/ftpd-typical.xml &@b@[1] 5073@b@[root@raid2t apache-ftp]# nohup: 忽略输入并把输出追加到"nohup.out"

2. 方式二 - 前台进程窗口启动(关闭窗口或ctrl+c服务自动关闭)[root@raid2t bin]# sh  /home/ftp/bin/ftpd.sh  /res/conf/ftpd-typical.xml@b@Using default configuration@b@FtpServer started@b@^CStopping server...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值