ftr (File Transfer) is an FTP server daemon.
Install the binary with go get:
go get -u github.com/jonathantorres/ftrIn order to build from source, make sure to use git to clone the repository, once done you can use the make utility to compile the source code:
makeUse make to run all of the tests:
make testYou can see an example configuration file in ftr.conf, in here you can customize the users for the server along with their passwords and root directories. Every configuration option is explained below.
server: Specify an IP address or domain name in which the server will listen to requests from clientsport: Port in which to run the serverroot: Root directory in which all of the directories for it's users will be storederror_log: Location in which log entries related to errors on the server will be storedaccess_log: Location in which log entries related to normal operations of the server will be storeduser: This option will allow you to add a user for the serveruser.username: Specify a username for the useruser.password: Specify a password for the useruser.root: Specify a root directory for the user. This directory will be relative to the location of therootof the server
You can use the -h flag to see all of the command line options in which the server can run
ftr -h