1.sudo apt-get install vsftpd
sudo mkdir /home/zxc/ftp
sudo chmod 777 /home/zxc/ftp
3.
sudo gedit /etc/vsftpd.conf
uncomment&modify:
local_enable=YES
write_enable=YES
chroot_list_enable=NO
chroot_local_user=YES
add:
local_root=/home/zxc/ftp
4.
sudo /etc/init.d/vsftpd start
sudo /etc/init.d/vsftpd stop
sudo /etc/init.d/vsftpd restart