Setting FSP server is a easy task. Majority of people runs FSP server in read only mode. In this mode fspd needs to know only home directory and port number. Both can be supplied by command line arguments to fspd.
If you need additional features, such as logging, you will need to have Section 3.3
FSP server is included in main FSP package. See Section 2 first. FSP server for windows is in the Section 4.5.
Server can be installed as inetd service or standalone. I prefer inetd installation, because modification of system startup scripts is not needed.
Server can operate even without user supplied configuration file fspd.conf. Basic setup can be easily done by command line arguments.
Add following line to your /etc/inetd.conf
ftp dgram udp wait ftp /usr/local/bin/fspd in.fspd -d /home/ftpThis easy setup will run fsp server on standard port 21, home directory set to /home/ftp and effective user set to ftp. If you do not have configured temporary directory in fspd.conf, fsp server will run in read-only mode.
Some inetd server uses slightly different syntax of inetd.conf file. Consult your local man pages for inetd and inetd.conf.
Example config file for fsp server is called fspd.conf and can be found in distribution. This file needs to be installed as /usr/local/etc/fspd.conf or you can specify alternate location by -f command line switch passed to fspd.
Configuration file itself is commented. Read comments inside.
FIXME. Use init scripts ;) or run it from inetd.
FIXME. See manual page fspd(1).