Can't access to /var/www/ using filezilla

Posted May 13, 2014 5.1k views
I've just installed wordpress and sftpd on my Ubuntu 12.04. But when I log in with filezilla, there's no www folder, only two empty folders: files and .cache. I'v aleady given my user permission using: chown -R username /var/www/ I'm very new to all of these, can anyone tell me why? Thanks

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.

Submit an Answer
4 answers
It sounds like you are just in the home folder for the user. Does it look like this image:

If so, just click on the highlighted folder, and it will expand.
no, it's like this:
It looks to me like you are just in the users home folder. Did you try clicking the folder I highlighted? You need to browse to the root directory, the one labeled with the forward slash: "/"
Holly shit, I chose FTP, not SFTP when I set up the connection in filezilla, shame on me!!
Now it's okay. Andrew, thanks for your help ;)