To install a ftp server to ubuntu. I here choose vsftpd.
Here is the step I have made.
$ sudo apt-get install vsftpd
Then, make some necessary modification the vsftpd config file at /etc/vsftpd.conf
Add new user to the server.
New folder will be created at /home/. But if you want to let user access to other folder location outside. Just create a new symbolic link.
Something like below
$sudo mkdir /home/<newusername>/domains $sudo mount --bind /var/www/ /home/<newusername>/domains
and also modify /etc/fstab if you want to make it permanent every times after reboot.
/var/www/dev /home/ftp_user/www_dev none bind 0 0
After going so many things. Finally give vsftpd a restart
$sudo restart vsftpd
Note: To run vsftpd, you need to open Port 20 and 21 for client to make the active port connections.