Build apache FtpServer server

1. Download http://mina.apache.org/ftpserver-project/downloads.html

2.D:\tool\apache-ftpserver-1.0.6\res\conf, open users.properties, modify: ftpserver.user.admin.userpassword=admin

ftpserver.user.admin.homedirectory=./res/home where the file is stored

3.D:\tool\apache-ftpserver-1.0.6\res\conf, open ftpd-typical.xml, modify: <nio-listener name="default" port=" 2121 ">The port can be modified according to your own needs , or not modified.

Change <file-user-manager file="./res/conf/users.properties" /> to <file-user-manager file="./res/conf/users.properties" encrypt-passwords = "clear" />   Encryption method is changed to clear

4.cd d:\tool\apache-ftpserver-1.0.6

bin/ftpd.bat res/conf/ftpd-typical.xml start the service

5. ftp://localhost:2121/ Access the server

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326798192&siteId=291194637
Recommended