Install FTP server (vsftpd)

apt-get install vsftpd

Modify /etc/vsftpd.conf and add the following lines, then open the listen port and the data port range in the firewall.

listen=YES
listen_port=xx3xx
pasv_min_port=6000
pasv_max_port=6050