Report this

What is the reason for this report?

Setting up FTPS on Ubuntu in order to use FTPS directly on wordpress

Posted on February 19, 2015

I’ve been having some trouble installing/updating/removing plugins to my wordpress site. Any time I want to make changes to my wordpress regarding plugins I am asked for my ftp login credentials. Now the credentials I use for accessing ftp via Filezilla work fine. However, when I try to use the same ones within wordpress, it gives me the following error message:

“ERROR: There was an error connecting to the server, Please verify the settings are correct.”

So DO support I must set up FTPS, and have included a guide to doing this:

https://www.digitalocean.com/community/tutorials/how-to-configure-vsftpd-to-use-ssl-tls-on-an-ubuntu-vps

However, when I access console I arrive here: https://www.dropbox.com/s/2jfpg5x8ecxwndj/console.JPG?dl=0

I have no idea what commands to use.

Please help



This textbox defaults to using Markdown to format your 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.

what if using nginx ? do I need to chown the whole directory starting from web root directory or will it be enough by chown-ing only themes/ directory ?

Worked well to use FTPS on WordPress on an Nginx server, thanks. :)

When Wordpress prompts you for FTP credentials it is because it found that your web files were not writable by it. This can be avoided completely by ensuring that your web files are owned by the same user that apache runs as. You can do this with the following command on an Ubuntu 14.04 droplet:

chown -Rf www-data:www-data /var/www/html

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.