Question

How to manage Wordpress Files through SFTP?

Hello Digital Ocean,

I am currently trying to access my wordpress directory on my droplet, through SFTP. When I sign in and gain access, the /root directory is empty except for a file called WORDPRESS, which is only 1.3kb large.

How can I get in there and edit all my files so that I can add new templates and such?

Here is a screenshot.

http://i.imgur.com/7Pz7Ipa.png

Thank you,

Austin Witherow

Subscribe
Share

I’m an idiot. I just needed to go to the /var/www folder.

I’m an idiot. I just needed to go to the /var/www folder.

Was the /var/www folder something you were able to access in your admin area? or through SFTP?

You might consider creating a different user to manage your website. Using root for doing everyday things on your server can lead to …undesirable… results.


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.

SFTP is not for editing. You can edit files using SSH to log in to your files and after doing that you can use an editor such as nano to edit your files.

https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server

This comment has been deleted