Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse(Opening and Saving Files Over FTP/SFTP/SSH Connection From Eclipse)
Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #651153] Fri, 28 January 2011 02:59 Go to next message
No real name is currently offline No real name
Messages: 4
Registered: January 2011
Junior Member
Hi!

I understand that what I am trying to do is not the most common thing if it is so hard to find an answer for my problem elsewhere but I still think it is a valid question about a valid situation.

I am moving to Eclipse from a programmer's editor (UltraEdit) and I am missing a feature that was so useful for me. Whenever I worked on a simpler project or wanted to do a quick change in a file, PHP or another setup file, I could just open a file from an FTP server and also save a file like that.

I know with Eclipse, it being a fully featured development environment, most user possibly use it to manipulate files in a local development environment and be able to quickly debug, test, run etc. without the delay of an FTP transmission and the delays of testing over the internet.

I tried to look for a way to open files/projects from an FTP server and I do not seem to be finding one.

I do not see anything in documentation, help posts, blogs. I see some references to FTP functionality mentioned in reference to the Remote Server Explorer (RSE) and under that plugin there are components with names referring to FTP and SSH (SSH is often used for secure FTP - SFTP) but after tries to install any or all of these there is no option anywhere in Eclipse (general, views or perspective) to open files over FTP or to add a connection to an FTP server.

Since I have read quite a lot of "why don't you try this and that ..." types of posts.... I do not want to sound ungrateful but can I ask for input from people who are actually using Eclipse over FTP/SFTP/SSH to open and save files / projects or ones who have done it and can suggest practical steps to set this up?
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #651232 is a reply to message #651153] Fri, 28 January 2011 13:34 Go to previous messageGo to next message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
On 2011-01-28 03:59, vladimirzafirov@yahoo.com wrote:
> I do not see anything in documentation, help posts, blogs. I see some references
> to FTP functionality mentioned in reference to the Remote Server Explorer (RSE)
> and under that plugin there are components with names referring to FTP and SSH
> (SSH is often used for secure FTP - SFTP) but after tries to install any or all
> of these there is no option anywhere in Eclipse (general, views or perspective)
> to open files over FTP or to add a connection to an FTP server.

Window->show view->other->Remote systems
this will add tab to Eclipse with connections, just like project explorer but
with remote systems.

Also You can switch to RSE perspective, then You will have customized components
from this module.


> Since I have read quite a lot of "why don't you try this and that ..." types of
> posts.... I do not want to sound ungrateful but can I ask for input from people
> who are actually using Eclipse over FTP/SFTP/SSH to open and save files /
> projects or ones who have done it and can suggest practical steps to set this up?

take a look at this.
http://aniszczyk.org/wp-content/uploads/2010/04/rse2.png

best regards
/dmc
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #651277 is a reply to message #651232] Fri, 28 January 2011 16:57 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 4
Registered: January 2011
Junior Member
dominik,

Thank you the path that you suggest is the logical one - whether through View or Prospective get to Remote Systems window, right click to be prompted for "new connection". But then I only see type of system general and Linux under that. No option for FTP, SFTP, SSH etc.

So the issue is still open. Please if someone has recently successfully opened a file over FTP form Eclipse - give us some insight.

I am back to using good old UltraEdit - always had FTP access.
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #651288 is a reply to message #651277] Fri, 28 January 2011 17:25 Go to previous messageGo to next message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
On 2011-01-28 17:57, vladimirzafirov@yahoo.com wrote:
> dominik,
>
> Thank you the path that you suggest is the logical one - whether through View or
> Prospective get to Remote Systems window, right click to be prompted for "new
> connection". But then I only see type of system general and Linux under that. No
> option for FTP, SFTP, SSH etc.

So You need to install additional connectors. Previously I assumed that You
already have them. Go to help->install new Software->choose RSE site (or all).
Install following:

RSE Core 3.1.1.v200907301400-7a7CEwFC7sRTNSwodfv_u
org.eclipse.rse.core.feature.group
RSE DStore Services 3.1.1.v200907301400-7L6EsEVVFGMG4TyOVFU
org.eclipse.rse.dstore.feature.group
RSE FTP Service 3.0.101.v200909160005-780A89oB55W5OAP9A9I
org.eclipse.rse.ftp.feature.group
RSE Local Services 2.1.101.v200907301400-7B4EqBgJ99r9dJ_GM9E
org.eclipse.rse.local.feature.group
RSE SSH Services 3.0.1.v200909160005-7A2BhAkF77g7VEYDG7C
org.eclipse.rse.ssh.feature.group
RSE Telnet Service 2.2.1.v200908051630-7730AkF77g7UDXELEF
org.eclipse.rse.telnet.feature.group
RSE Terminals UI 1.0.2.R31x_v200911051655-77-49uC8Ez-BY3y4QIE224382252
org.eclipse.rse.terminals.feature.group

Maybe there is more available, I needed only those. Essentialy RSE is modular
application that allows You to install any type of connector. Probably You will
find more much interesting like some which allows direct access in some
non-standard devices etc.


> So the issue is still open. Please if someone has recently successfully opened a
> file over FTP form Eclipse - give us some insight.

I'm using SFTP, FTP and SSH every day, I think it's one of the most commonly
used things from eclipse.
BTW: there is "ready to go" eclipse bundles that already contains some
additional features like svn, git etc. You probably installed plain PDT and
that's why You don't have some interesting plugins.


> I am back to using good old UltraEdit - always had FTP access.

Ultra Edit is very simple and not much extensible editor compared to Eclipse.
Everyone some day tried something like that :-) Eclipse is much more powerfull
bu You need to know few things about it :)

best regards
/dmc
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #651297 is a reply to message #651288] Fri, 28 January 2011 18:39 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 4
Registered: January 2011
Junior Member
Yes I installed PDT.
What else would you suggest? I am willing to do what is needed to have FTP.
You say "try installing RSE". I download the downloadables and try to load them. It tells me that I already have everything in newer version.
A friend of mine helped me remove the RSE and install only the FTP/SSH stuff in it - same result.
You say specify the RSE url and install it that way. I do not think I have that URL or can find it anywhere.

Sorry, it may sound like I am not trying but I am.

UltraEdit does have the FTP out of the box and it works.

Still using it.... until I find out how to enable it in Eclipse. I guess many people use the PDT for local development and release whole patches. I work with a large number of smaller sites and it is much more sensible to directly access the files on the servers.


Thanks.
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #652742 is a reply to message #651297] Sun, 06 February 2011 03:15 Go to previous messageGo to next message
David King is currently offline David King
Messages: 1
Registered: February 2011
Junior Member
You can always try to mount your remote drives outside of Eclipse.

For windows users:


For mac users:


For linux users...google "filesystem in userspace"
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #652803 is a reply to message #652742] Sun, 06 February 2011 23:17 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 4
Registered: January 2011
Junior Member
David King,

Thanks for taking the time to suggest these solutions, with doing the FTP directory mapping on the operating system level and just using Eclipse the way it is. Eclipse has a great way of managing directories and files in its normal installation, so.

Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #653059 is a reply to message #652742] Tue, 08 February 2011 10:14 Go to previous messageGo to next message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
On 2011-02-06 04:15, David King wrote:
> You can always try to mount your remote drives outside of Eclipse.

I tried most of that and all were very problematic. Sometimes they cache too
much, sometimes they don't download newest files. Only simple windows samba
works quite good (except symlinks don't supported well in windows).
Of course working with such connectors is very slow, even when files are in
local lan. When You have some directories and use control versioning then it can
take minutes to update or commit. I reviewed transmission on lan and lags are
mainly done by reading hundreds of svn small files, with git this should be far
better but still slower than local development.
My best way for this problem is to use one way sync + samba. This gives local
speed and ability to run thing on remote server. There are only very small
issues with that (because of samba symlinks).

Of course for quick edit RSE is still very useful, You don't need to have entire
project to change one line in some file on remote server.

/dmc
Re: Opening and Saving Files Over FTP/SFTP/SSH Connection from Eclipse [message #653068 is a reply to message #651297] Tue, 08 February 2011 10:36 Go to previous message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
On 2011-01-28 19:39, vladimirzafirov@yahoo.com wrote:
> Yes I installed PDT.
> What else would you suggest? I am willing to do what is needed to have FTP.

Well known Eclipse build with PHP support and remote files support bundled is
into "zend studio". You can get it from:

http://www.zend.com/en/products/studio/downloads

And You can compare it to plain PDT here:

http://www.zend.com/en/products/studio/comparison

Of course You can have same or more with PDT, but You need to know a bit about
plugins and it's installation. There are more eclipse builds like MyEclipse etc.
both commercial or free. I don't know them much because I still prefer to use
plain PDT with selected modules, i.e. without very old cvs.


> You say "try installing RSE". I download the downloadables and try to load them.
> It tells me that I already have everything in newer version.
> A friend of mine helped me remove the RSE and install only the FTP/SSH stuff in
> it - same result.
> You say specify the RSE url and install it that way. I do not think I have that
> URL or can find it anywhere.

If You have such components then You don't need to install them again. I pasted
for You what I currently have on one of my computers, this don't mean that it's
newest.

To review Software sites (those urls..) go to help->install new
software->available software sites. For TM you will find links here:
http://www.eclipse.org/tm/


> Sorry, it may sound like I am not trying but I am.

I think You stuck on something very simple, maybe best solution for You is just
to try Zend Studio. This will give you well eclipse build with common additionals.


> UltraEdit does have the FTP out of the box and it works.

Eclipse is like car, You can buy one from catalog with basic set of features.
Also You can buy plain and insert your selections of components/devices etc.
Second approach is much more difficult and requires much more knowledge than
most people have. :)


> Still using it.... until I find out how to enable it in Eclipse. I guess many
> people use the PDT for local development and release whole patches. I work with
> a large number of smaller sites and it is much more sensible to directly access
> the files on the servers.

As I said in above example this is intentional that eclipse is released as plain
program. Later You can do whatever You want. I think You are familiar to Apache
server and know that it's released as plain server or You can have whole bundle
with mysql and php. Yet again I prefer plain server and do everything from
console. Some others would like to have everything in 5 minutes with some clumsy
menu interface to control that in tray (yuck!). As You can see both are
important. Go ahead and start with zend studio, some day maybe You would like to
tune it, later to have highly customized installation only with components You
want.

:)

/dmc
Previous Topic:Syntax Coloring (PDT)
Next Topic:Running a PHP web page
Goto Forum:
  


Current Time: Wed Sep 17 03:52:15 GMT 2014

Powered by FUDForum. Page generated in 0.02616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software