[ACCEPTED]-How do I add FTP support to Eclipse?-eclipse-pdt

Accepted answer
Score: 227

Eclipse natively supports FTP and SSH. Aptana 7 is not necessary.

Native FTP and SSH support 6 in Eclipse is in the "Remote System 5 Explorer End-User Runtime" Plugin.

Install 4 it through Eclipse itself. These instructions 3 may vary slightly with your version of Eclipse:

  1. Go to 'Help' -> 'Install New Software' (in older Eclipses, this is called something a bit different)
  2. In the 'Work with:' drop-down, select your version's plugin release site. Example: for Kepler, this is
    Kepler - http://download.eclipse.org/releases/kepler
  3. In the filter field, type 'remote'.
  4. Check the box next to 'Remote System Explorer End-User Runtime'
  5. Click 'Next', and accept the terms. It should now download and install.
  6. After install, Eclipse may want to restart.

Using 2 it, in Eclipse:

  1. Window -> Open Perspective -> (perhaps select 'Other') -> Remote System Explorer
  2. File -> New -> Other -> Remote System Explorer (folder) -> Connection (or type Connection into the filter field)
  3. Choose FTP from the 'Select Remote System Type' panel.
  4. Fill in your FTP host info in the next panel (username and password come later).
  5. In the Remote Systems panel, right-click the hostname and click 'connect'.
  6. Enter username + password and you're good!
  7. Well, not exactly 'good'. The RSE system is fairly unusual, but you're connected.
  8. And you're one smart cookie! You'll figure out the rest.

Edit: To change the default port, follow 1 the instructions on this page: http://ikool.wordpress.com/2008/07/25/tips-to-access-ftpssh-on-different-ports-using-eclipse-rse/

Score: 46

Install Aptana plugin to your Eclipse installation.

It 8 has built-in FTP support, and it works excellently.

You 7 can:

  • Edit files directly from the FTP server
  • Perform file/folder management (copy, delete, move, rename, etc.)
  • Upload/download files to/from FTP server
  • Synchronize local files with FTP server. You can make several profiles (actually projects) for this so you won't have to reinput over and over again.

As a matter of fact the FTP support 6 is so good I'm using Aptana (or Eclipse 5 + Aptana) now for all my FTP needs. Plus 4 I get syntax highlighting/whatever coding 3 support there is. Granted, Eclipse is not 2 the speediest app to launch, but it doesn't 1 bug me so much.

Score: 36

have you checked RSE (Remote System Explorer) ? I 2 think it's pretty close to what you want 1 to achieve.

a blog post about it, with screenshots

Score: 3

I'm not sure if this works for you, but 8 when I do small solo PHP projects with Eclipse, the 7 first thing I set up is an Ant script for 6 deploying the project to a remote testing 5 environment. I code away locally, and whenever 4 I want to test it, I just hit the shortcut 3 which updates the remote site.

Eclipse has 2 good Ant support out of the box, and the 1 scripts aren't hard to make.

Score: 3
Score: 1

As none of the other solutions mentioned 6 satisfied me, I wrote a script that uses 5 WinSCP to sync local directories in a project 4 to a FTP(S)/SFTP/SCP Server when eclipse's 3 autobuild feature is triggered. Obviously, this 2 is a Windows-only solution.

Maybe someone 1 finds this useful: http://rays-blog.de/2012/05/05/94/use-winscp-to-upload-files-using-eclipses-autobuild-feature/

More Related questions