Reputation: 23
I'm confused why I can't access the public_html folder on my server using Filezilla or WinSCP. The result is either Access denied (WinSCP) or Critical Error, Could not connect to server (FZ). I created my own ftp account, I can access the Cpanel using the hosting, i create mysql acct as well..
Any help?
Upvotes: 0
Views: 3927
Reputation: 1
There are many reasons leading to the "critical error" when trying to access. I faced this issue with both Filezilla and WinSCP. In my case:
You should go to your admin panel and look for the option "restrict ftp access" (or something similar), and enable your IP or remove restrictions at all. NOTE: For security reasons, the setting only lasts 24 hours, so next time you will definitely have to repeat the operation!
Please find attached the screenshot of my case.
Upvotes: 0
Reputation: 307
While creating the ftp account please, set the Directory path name to public_html to see the project files.
Upvotes: 0
Reputation: 1
I think you created the ftp user with a private home directory . You should create it and make sure that the website home directory is its home diertory too which is public_html
Upvotes: 0