I'm using Eclipse PHP Development Tools. What would be the easiest way to access a file or maybe create a remote project trough FTP and maybe SSH and SFTP?.
|
|
Install Aptana plugin to your Eclipse installation. It has built-in FTP support, and it works excellently. You can:
As a matter of fact the FTP support is so good I'm using Aptana (or Eclipse + Aptana) now for all my FTP needs. Plus I get syntax highlighting/whatever coding support there is. Granted, Eclipse is not the speediest app to launch, but it doesn't bug me so much. |
|||||||||||||
|
|
Eclipse natively supports FTP and SSH. Aptana is not necessary. Native FTP and SSH support in Eclipse is in the "Remote System Explorer End-User Runtime" Plugin. Install it through Eclipse itself. These instructions may vary slightly with your version of Eclipse:
Using it, in Eclipse:
Edit: To change the default port, follow the instructions on this page: http://ikool.wordpress.com/2008/07/25/tips-to-access-ftpssh-on-different-ports-using-eclipse-rse/ |
|||||||||||||||||
|
|
As none of the other solutions mentioned satisfied me, I wrote a script that uses WinSCP to sync local directories in a project to a FTP(S)/SFTP/SCP Server when eclipse's autobuild feature is triggered. Obviously, this is a Windows-only solution. Maybe someone finds this useful: http://rays-blog.de/2012/05/05/94/use-winscp-to-upload-files-using-eclipses-autobuild-feature/ |
|||
|
|
|
SFTP Plug-in: http://www.jcraft.com/eclipse-sftp/ :) |
|||
|
|
|
have you checked RSE (Remote System Explorer) ? I think it's pretty close to what you want to achieve. |
|||||||||||||
|
|
I'm not sure if this works for you, but when I do small solo PHP projects with Eclipse, the first thing I set up is an Ant script for deploying the project to a remote testing environment. I code away locally, and whenever I want to test it, I just hit the shortcut which updates the remote site. Eclipse has good Ant support out of the box, and the scripts aren't hard to make. |
|||||
|
protected by Community♦ Oct 15 '11 at 11:30
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?