Last updated on October 10th, 2016 at 11:49 am

In this tip i will explain you how to setup FTP server on your.  Follow simple steps to configure FTP on server.

Step 1. First install vsftpd on your server

sudo apt-get install vsftpd

Step 2. Now open and edit vsftpd.conf and change some setting in it

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=0002
file_open_mode=0777
chroot_local_user=YES

Now at the end of file add this line

allow_writeable_chroot=YES

Step 3. Now create a new user using this code

sudo adduser ftp_user_name

after this you need to add password for this and add some info in it

Setup vsftpd on your Ubuntu server

Step 4. Now assign directory you want assign user for access

sudo usermod -d /var/www/html/test test

Step 5. Also give read write permission to folder and restart server

chmod -R 777 /var/www/html/test
sudo service vsftpd restart

After this open any ftp client or filezilla and enter your login details and tru uploading file.

Hope this tip help you 🙂