Question

How to configure FTP for Ubuntu

  • Posted January 19, 2014

Hi All,

I am running Ubuntu 12.04 and trying to get FTP setup on my Droplet. I followed all the instructions here (including the SSL setup):

https://www.digitalocean.com/community/articles/how-to-set-up-vsftpd-on-ubuntu-12-04

But when I try to connect I just get a timeout error. Has anyone had to configure anything specifically to get FTP working outside of these steps? I am also running Ghost on the Droplet if that might have anything to do with it… Thanks!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I set up an ftp server on my droplet and expect to be able to log in using a client of my choice into the server to transfer files. but i cannot log in with my droplet’s credentials… any help? <br>Thanks

Turns out it was due to the IP tables rejecting connections… had to set the tables to allow connection on port 21. Thanks for your help! And yeah I am using SFTP, just wanted to figure out why FTP wasn’t working in general for my own sanity. :)

Hmm. Is it listening on port 21? <pre>sudo netstat -plutn | grep 21</pre> <br>Also, I highly recommend <a href=“https://www.digitalocean.com/community/articles/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps”>using SFTP instead of FTP</a>.

Thanks for the reply! Yup, its running: <br> <br><pre> <br>vsftpd stop/waiting <br>vsftpd start/running, process 5840 <br></pre> <br> <br>Any other tips to help me figure out why I can’t connect?

Is vsftpd running?<pre>sudo service vsftpd restart</pre>