At work we’ve recently migrated from using the Nusphere PhpED IDE to Eclipse and PDT, the benefits offered by Eclipse are massive, not least its huge archive of available plug-ins.
The one thing I’ve desperately missed about Nusphere is the ability to right click a file and deploy it directly from the Project Explorer, this is about the only thing that I’ve not managed to find a reliable plug-in – So I decided to implement one myself, heres a sample screenshot
I’ve called it Projx Transfer, it integrates with Eclipse Project Explorer, each project can be transferred to different destinations via FTP, files and folders can be transferred by selecting Upload or Download from their context menu’s, additionally it allows items to be queued for bulk transfers.
You find more details and downloads at http://www.proj-x.org/eclipse-plugins/projx-transfer/, the source code is also available.
Have you looked at remote system explorer? It is part of the target management platform http://www.eclipse.org/dsdp/tm/
Hi Eugene, My original plan was to build Transfer on top of RSE, afterall its only a layer to tie the transport functionality into the Project Explorer.
Unfortunately I could not find a way to progmatically initialise the RSE plugin from my code, so I could only acccess remote connections via my code once the Remote Systems view had been manually opened – but if theres any solution to this, I would definitely update Transfer to work on top of RSE.
Just found your plugin and it’s exactly what I’ve looked for. But unfortunately it seem that the pluging is not running within Java 5. I would have compiled it for Java 5 from source but the link to the source files is not there.
I would be glad if you would publish the source code to try it out.
Thanks
I’ve setup a sourceforge project for the plugins, you can find the sourcecode in the SVN repository http://sourceforge.net/projects/proj-x/
I have a problem after installation.
I have Eclipse 3.4.1 and J2SE 1.5
The error is:
“Could not create the view: Plug-in org.projx.transfer was unable to load class org.projx.transfer.views.TransferView.”
Can someone help me? Thx
Hi Federico,
Proj-x Transfer was compiled against JRE 1.6, you can either download the project sourcecode from the Sourceforge SVN respository and compile it yourself (its pretty easy), or you can update your JRE.
The sourceforge page is http://proj-x.svn.sourceforge.net/viewvc/proj-x/trunk/Projx%20Transfer/
After setting everything up and clicking download.. an alert pops up and says ok but nothing is queued. Although by hand I am entering in the FTP parameters and they seem correct. Running Eclipse 3.3.2 and
Hi Michael
I’ve done some quick tests on Eclipse 3.3.2 using JRE 1.6, and everything downloaded as expected. If your still experiencing problems could you please send me the a copy of the output from the log box.
plugin not found, 404 on download link
Thanks for letting me know Christophe, the link must have broken when I uploaded to wordpress, the download should now be fixed and I’ve updated it to v1.0.1.
Hi,
Ik like your plugin, it is exactly what I was looking for. It works when using right click upload file, but when I use the short key Ctrl+R it give me simply a message “Nothing to transfer”.
Is there something I am doing wrong here?
Hi Ruurd
CTRL-R only starts the uploads, you first need to queue the files with CTRL-T, sorry if that is not clear in the instructions, if people are finding this annoying please let me know I’ll get this changed.
thanks Kelvin for your reply.
That helped, in that when I que with right mouse klick I can then transfer with Ctrl+R. But queing with Ctrl+T seems not to be working, even when I changed it to Ctrl+Alt+Shift+T.
Have I mist something? tnx
You seem to be having a bug that when the permissions are not set to writable on the ftp side, when you want to transfer a file, you get an infinite loop with a message “no such file or directory”. This result in many popup windows, eventually windows is ‘fixed’ in that you cant right click or make new windows.
There is little functionality for dealing with permission problems, this is something I’ll correct in the next release.
Hi,
I still like the plugin, but it seems when you have the editor in focus you can’t use ctrl+t. You need to be in focus of project explorer. Is there any way to change this?
tnx
Hi!, The plugin is great, however it becames useless for me because of my local project structure.
It is possible to say to the plugin “this is my server folder”?
tnx!
Hi there! First of all I want to say that you have created a very usefull plugin!
I have downloaded the 1.0.1 version (the other 2nd and 3rd download link still link to 1.0.0), but when I try to extract the jar file with WinRAR (just to see what’s in it), it gives a ‘file is corrupt error’. This is not the case for 1.0.0. I’ve managed to combine the 2 versions by copying the – as it seems – corrupted ‘com’ folder from the older 1.0.0 version.
- It would be very(!) usefull to have a shortcut that works while the editor window has the focus like Ruurd suggested.
Just my humble opinion.
Thanks for your efforts !
Hi, this is just the plugin I was looking for. The only addition I would like to have, is a control of the transfer mode (put the transfer mode on Active).
Thanks
Isabel
Hello
I have some problem with the plugin.
I have Eclipse 3.4.2, and Java 1.6.
When I try to upload/download I get the following error message:
ERROR [FTPControlSocket] 3 apr. 2009 13:42:39.203 : Control channel unexpectedly closed
Do you have any idea what’s the problem?
Thanks
Hi, it seems the FTP library (edtFTPj) Proj-x Transfer uses is having some problems there, but try altering the PASV mode, also could you email me output in the Log window, please send it to eclipse@proj-x.org.
Hi,
Your plungin sounds very interesting but I’m not able to download it from http://www.proj-x.org/download/org.projx.transfer_latest.jar . All I get is a blank page.
Regards,
Wanjee
Great plugin, will save me a lot of time.
However as Ruurd and Amplifyme mentioned; a key shortcut to upload to the remote server without the focus being on the Project Explorer would save even more time.
Keep up the good work
Chris
Great plugin! One question: It seems that when you queue an entire directory in a project, it copies the entire contents of that directory. If a project is under SVN control, it copies the hidden .svn directory and files as well. Is there a way to block Projx from transferring a file or directory (or extension *.txt, etc) and recursively any files under it if it is a directory, as in the .svn directories and their contents? Thanks!