下载
http://mina.apache.org/ftpserver-project/downloads.html
1、修改res/conf/ftpd-typical.xml中最下面的端口号,2121改为21
<nio-listener name="default" port="21">
2、修改res/conf/users.prooperties文件最下面的用户设置
ftpserver.user.admin.userpassword=21232F297A57A5A743894A0E4A801FC3
ftpserver.user.admin.homedirectory=D:/ftpfile
ftpserver.user.admin.enableflag=true
ftpserver.user.admin.writepermission=true
ftpserver.user.admin.maxloginnumber=0
ftpserver.user.admin.maxloginperip=0
ftpserver.user.admin.idletime=0
ftpserver.user.admin.uploadrate=0
ftpserver.user.admin.downloadrate=0
3、启动,在bin下输入cmd
控制台输入:
ftpd.bat res/conf/ftpd-typical.xml