How to setup FTP server in Ubuntu using vsftpd.
$sudo apt-get install vsftpd
Ok now that we have it installed its only using default settings which allow anyone with a system account to connect and download files .Upload is not allowed by default . So next lets change a line in the config to allow users to upload.
$sudo gedit /etc/vsftpd.conf
In this file you should find a line that says “#write_enable=YES” change this line to “write_enable=YES”. Restarting the vsftpd server with below comment .
$sudo service vsftpd restart