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

HTML

Jonathan Fernandez
Jonathan Fernandez
8,325 Points

Couldn’t get remote handle. Coda 2

Hi everyone,

I just completed the first course on Building a Website and decided to try and use Coda 2 as my native text editor for my Mac. (Hosting for Students was where I decided to host my website.)

I'm having difficulties getting the website to publish properly and keep getting the following error:

"Could not upload index.html" "Couldn’t get remote handle. Make sure you have permission to modify this file."

I want to note that I have already done FTP with cyberduck before using coda 2 so maybe I can only have 1 program at a time??

Best, Jonathan

2 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hey Jonathan,

Its not a Coda issue, its actually a permission issue. Coda will be trying to write to your root directory but it does not have permission to do this.
You need to change permissions in your root directory to allow Coda to write files when it logs in using your user and password.

Hope this helps.

Jonathan Fernandez
Jonathan Fernandez
8,325 Points

Hi Wayne,

Thanks for the answer and pointing that out.

I have been able to publish websites and solve this issue by changing the root remote folder name to match the folder name within the host website folder.

//home/(my given username at hosting for students)/www/

Best, Jonathan