What's new? | Help | Directory | Sign in
Google
easyftpd
FTP-server with focus on simplicity
  
  
  
  
    
Search
for
Updated Dec 12, 2007 by bjorn.kempen
Labels: Featured
Configuration  
Configuration of easyFTPD

Configuration

All of easyFTPD's configurations are stored in a configuration-file. When installing easyFTPD this file is located at /etc/easyftpd/config . You may copy this file elsewhere if you want to be able to have separate configurations available as well. In that case, start easyftpd with the -c CONFIGFILE option to choose the other config.

The config-file

The configfile is made up of rows of data with the syntax

configuration_option: value

The following options are available

Option Description Default value
default_port The port to run the server at 21
anonymous Allow anonymous access no
anonymous_root Shared folder for anonymous access /tmp
anonymous_perm Read/write permissions for anonymous users r
disable_logging Disable logging no
banner Banner being displayed to users connecting Test FTP
welcome_msg Welcome message to logged in users Welcome!
goodbye_msg Goodbye message to disconnecting users Goodbye! I hope you enjoyed your visit!
max_login_attempts Maximum login attempts 3
max_connections Maximum connections at once 50
max_connections_per_ip Maximum connections from one IP 10
user_file Path to file containing virtual users /etc/easyftpd/users

The permissions for the anonymous_perm option should be r, w or rw for read, write or read and write.


Sign in to add a comment