2. Update file ftpd-typical.xml, add encrypt-passwords="clear"
<file-user-manager file="./res/conf/users.properties" encrypt-passwords="clear"/>
3. Edit file users.properties, add new user:
ftpserver.user.peter.userpassword=416308
ftpserver.user.peter.homedirectory=./res/home
ftpserver.user.peter.enableflag=true
ftpserver.user.peter.writepermission=true
ftpserver.user.peter.maxloginnumber=20
ftpserver.user.peter.maxloginperip=2
ftpserver.user.peter.idletime=0
ftpserver.user.peter.uploadrate=0
ftpserver.user.peter.downloadrate=0
4. add "set JAVA_HOME=C:\Java\jdk1.7.0_21" to service.bat and ftpd.bat if there's java version related error
service install (It's OK to get Failed installing 'ftpd' service)
ftpd.bat res/conf/ftpd-typical.xml
5. access ftp://127.0.0.1:2121/
For mac,
cd /Users/peterpeng/apache-ftpserver-1.2.0/bin
./ftpd.sh res/conf/ftpd-typical.xml
Then from Finder, go->connected to server: ftp://127.0.0.1:2121