Projx Transfer

What is it?

Its a plugin for Eclipse that allows files to be deployed to a remote host via FTP from within the Eclipse Project Explorer by right clicking the file and selecting Transfers. It could not be simpler -

  1. download the plugin from here
  2. Install the plugin
  3. Set the project connection details
  4. Start transfering

Transfer allows files to be queued before uploading, it can handle recursive uploads, additionally it is fully multi-threaded which means Eclipse remains responsive and allows you to continue working while your files are transferred.

IMPORTANT

Please not that Transfer required the Eclipse DLTK to be installed, please see below for instruction on determining if you already have this and how to install it if you do not (note if you’re using PDT v2.x then you already have this).

Whats new

Changes in version 1.2.0

  • Added DLTK compatibility, now works with PDT’s PHP Explorer (and hopefully language extensions such as Ruby etc)
  • Removed duplicate action handling
  • Now Requires DLTK to be installed

Changes in version 1.1.1

  • Fixed bug in where Keyboard shortcuts would not work with PDT.
  • (if you find any similar problems please let me know)

Changes in version 1.1.0

  • Keyboard shortcuts now work in the Editor, what ever your working on will be Queued/Uploaded/Downloaded.
  • Added option to set PASV or ACTIVE transfer in the Project Properties.
  • Fixed remote permissions bug which caused the plugin to constantly generate “Access Denied” error’s and eventually crash.

Downloads

You can download the plugin from here

Alternatively the sourcecode can be downloaded from Sourceforge

Have your say

Are you using Projx Transfer? Please rate it and leave comments on any enhancements you’d like to see..

Vote for this site!

Requirements

Proj-x Transfer requires J2SE 1.6 (note it was compiled using Eclipse 3.5.x and J2SE 1.6, but it should still work with Eclipse 3.4.x), Additionally it uses the Eclipse DLTK.

Install the Eclipse DLTK

(TO DO)

Manual Installation

  1. download the plugin from here
  2. Close Eclipse and delete any previous version on Proj-x Transfer from your eclipse\plugins directory.
  3. copy the org.projx.transfer_1.x.x.jar to your eclipse\plugins directory.
  4. Reload Eclipse
  5. Goto the Window menu -> Show View -> Other -> Projx Transfer -> Transfer, then Select OK.
  6. You should now a view similar to

Eclipse Update Installation

I’m still figuring this out.

Configuring Tranfer

Before you can upload any files the connection details must be set for you project, to do this

  1. Right click on your project in the Project Explorer to open its content menu.
  2. Select Properties from the context menu.
  3. In the the properties windows click “Proj-x Transfer”
  4. Fill in the connection details for your FTP server, similar to

transfer_project_settings1

Transfering from the Project Explorer

Simply right click the file/folder in the Project Explorer and open its context menu, look down the menu and select “Transfer ..”, now the following submenu will then be shown

All Transfers are handled via the Queue, if you select Upload or Download the file/folder will first be added to the queue and then the transfer will begin. The menu items have the following effect

Upload Items(s) – Add the selected files/folders to the transfer queue and start the upload process, the shortcut for this is CTRL-R.

Download Item(s) – Add the selected files/folders to the transfer queue and start the download process, the shortcut for this is CTRL-G.

Queue Item(s) – Add the selected files/folders to the transfer queue, this is good for updates that rely upon multiple changes, the shortcut for this is CTRL-T.

(Note: all shortcuts can be changed in the Eclipse preferences).

Transfering your queue

You can transfer queued files/folders directory from the Transfer tab, using the following buttons

Keyboard Shortcuts

You can control the Transfer queue directly from the Project explorer using Keyboard Shortcut, by default these are defined at the following (but can be remapped through the Preferences)

Press CTRL-T  to Queue Item(s)

Press CTRL-R to Upload Item(s)

Press CTRL-G to Down item(s)

Managing your queue

The queue can be managed by right clicking on the Queue Table, from here you can remove selected highlighted items with “Remove Item(s)”, or clear the whole list with “Remove All”.

Log Box

The log box displays detailed output about connections, current transfers and any errors, you should use this to help identify any problems.

The Log box is controlled via the following buttons, the X will hide/reveal the Log box, the other will clear the current buffer -

Note there is currently no popup menu on the Log box, but you can copy the Log content by hilighting the required section and then pressing CTRL-C to copy it.

Todo

Add SFTP Support

Add keyboard shortcuts to the Transfer window (for remove items etc).

Add keyboard shortcuts to the Editor window.

Add Popup Menu to the log box.

What have I missed?

Source Code

I’m in the process of setting up a Sourceforge project for my plugins, you can download the Source code from the SVN repository here.

Additional information

Projx Transfer using the edtFTPj/Free library for its FTP capabilities, the source for this is released under the GPL.

You can download the Projx Transfer plugin source code from here.