To edit the vsftpd configuration file (vsftpd.conf) in Ubuntu, run the following command
sudo nano /etc/vsftpd.conf
If it isn’t in that location, try searching for it
locate vsftpd.conf
This will give a list of locations.
To restart vsftpd
service vsftpd restart
Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.