ServerName "FTP"
ServerType standalone
DefaultServer on
Port 21
Umask 022
# Global effect setting
MaxInstances 30
TimeoutIdle 180
TimeoutLogin 60
TimeoutNoTransfer 300
TimeoutStalled 3600
UseReverseDNS off
# Set the user and group that the server normally runs at.
User nobody
Group nobody
DefaultRoot /home/ftp
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous /home/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
MaxClientsPerHost 2 "Please don't open more than 2 sessions."
DisplayLogin welcome.msg
DisplayFirstChdir .message
RequireValidShell on
# Allow WRITE everywhere in the anonymous chroot
<Limit WRITE>
AllowAll
</Limit>
# Writable directories for anonymous
<Directory incoming/*>
<Limit STOR MKD>
AllowALL
</Limit>
</Directory>