Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSamuel Thorpe
4,995 PointsHow do i upload my files to a public_html directory?
Im getting an error message in FileZilla "Received TLS alert from the server: Handshake failed (40)" and "Could not connect to server". Host, username and password are all correct.
It is saying Response: 220-Please upload your web files to the public_html directory. Response: 220-Note that letters are case sensitive.
How do i do / fix this?
2 Answers
Jonathan Grieve
Treehouse Moderator 91,253 PointsHello Samuel,
If all your connection settings are correct you should have access to the directory listing on the server panel. Click back to the root folder and you should see the folder "public_html" listed click on this and you'll find yourself inside the public_html folder. Remember you'll need to copy everything inside the wordpress folder you were given but not the folder itself.
Good luck. :-)
Kevin Carroll
3,432 PointsI [kind of] figured it out. Filezilla 3.10 made some kind of change where the server does not support FTP over TLS. One way, allegedly, to change this is to go to the Site Manager and change the protocol to "Only use plain FTP (insecure)". However, when I went to the Site Manager the options were grayed out and I could not change them. So the way I ended up fixing this was installing a version before 3.10 (I'm specifically using 3.9.06). This worked for me. Also, I don't know if this matters, but I am running on Windows 7.
Kevin Carroll
3,432 PointsKevin Carroll
3,432 PointsHey Jonathan,
I am having the same problem. I do not have access to the server panel because I can only get access to it if the connection goes through. Instead I am getting the error messages that Samuel got, which is why I can't connect.
Jonathan Grieve
Treehouse Moderator 91,253 PointsJonathan Grieve
Treehouse Moderator 91,253 PointsHi Kevin,
Your hosting company should be able to give you the information you need to connect to your server via FTP.
You'll need,
An ftp Server: which typically looks something like ftp.yourdomain.co.uk A username: to login to your server An ftp password your password to access your server files.
These should be available to your in your emails from your web host. :-)
Kevin Carroll
3,432 PointsKevin Carroll
3,432 PointsI have all the necessary information to connect, but, like Samuel, it still won't connect. It has something to do with the "TLS". I'm going to post about it in response to the original question.