How do I access my public_html folder with WinSCP

I'm a newbie trying to transfer shared hosting files with WinSCP. I'm logged in and I can see my root folder and mail folder but no other folder. How do I access my publichtml folder with WinSCP? My website site is saved in /srv/www/example.com/publichtml/.

Thank you.

1 Reply

I think there is a setting in WinSCP (been a while since I last used it) where you define your startup folder as soon as you connect.

Alternatively you can SSH in the box and create a symlink to your folder:

cd /home/fehin
ln -s /srv/www/example.com/public_html www

This will create a www symlink in your home folder to allow you go to the public_html location easier.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct