Arguments can be given to unFTP either via the command line or via environment variables. To show a list of available program arguments type the following:
unftp --help
To run unFTP with everything set to the defaults:
unftp
This will start unFTP:
0.0.0.0:2121
and the data channel range set to 0.0.0.0
ports 49152
..65535
Now serving data from your computer's temporary directory is not very useful so lets point it to a different directory
by using the --root-dir
argument. In addition, lets limit the data port range a bit:
unftp \
-v \
--root-dir=/home/unftp/data \
--bind-address=0.0.0.0:2121 \
--passive-ports=50000-51000
Powered by Doctave