It's pretty easy to install a Proftpd as ftp server.

To setup proftpd, need to edit /etc/proftpd/proftpd.conf  (Debian)

  1. Create a user for ftp connection.
    useradd -d /home/folder/for/this/ftp/user -s /bin/false   # Do not allow this user login to shell
  2. Edit proftpd.conf
  3. Uncomment "Require Valid Shell"
  4. Setup the ftp directory limition, below is a short example, check manual for other details.

<Directory /path/for/ftp>
<Limit All>
Allow All
</Limit>
</Directory> 

0 评论: