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 trial

General Discussion

ALINA ZAMOGILNYKH
ALINA ZAMOGILNYKH
16,664 Points

How to connect project files from your computer to your web site's server?

I can't install web disk from cPanel (every time it's an error "The server may not exist or it is unavailable at this time. ...", I don't know how to deal with it, probably have to change some configurations or something, tried surfing the internet but couldn't fix it, I'm definitely not good in hardware setting). I can download ready files to the server via Site Manager directly at cPanel, but I wonder, how to keep your web site files on your computer and edit them, so you can refresh your web site and see these changes immediately?

P.S.: Tried to download Cyberduck and FileZilla, but the outcome is the same - I can transfer files but can't edit and see immediate changes. Probably stupid question, but I couldn't find detailed description on this topic.

2 Answers

Hi,

Why don't you try an IDE like NetBeans? You get a server bundled so you can do backend programming and frontend and it refreshes it automaticly at every save.

I suggest to use this for development and when the site ready is go live with it on your server.

Well if you use fillezila you can edit a file right on the server (right click on the file and EDIT) but you have to save the file for any changes to be presented in your internet browser.

ALINA ZAMOGILNYKH
ALINA ZAMOGILNYKH
16,664 Points

Hello and thank you for your advice! I installed NetBeans and it can be useful. But you see - yes I can keep project files and edit them in NetBeans and THEN upload them to my server, but I can't find an option how can I bind my server (I use cPanel and it is the folder "public_html") with the my project's files folder on my desktop let's say... I can guess that it should be possible to bind these two folder somehow at cPanel but I already broke my head looking and clicking every button there... Still nothing :(

I think I get it now. You want to develop in a local folder on your computer and want it to be updated to your public_html folder on your server. About the web disk with the cPanel I can check on my server but not sure how this goes.

You could try Coda 2(For Macs): it let's you connect through it to your server and edit the files, when you save, the files on your server are updated.

Think that would be an option.

You can also check these Coda Alternatives .

Check through the list and I think you can find something that could do the trick.

ALINA ZAMOGILNYKH
ALINA ZAMOGILNYKH
16,664 Points

I'll try this one, thanks for your help!