如何向 Eclipse 添加 FTP 支持?
我正在使用 Eclipse PHP 开发工具。 通过 FTP、SSH 和 SFTP 访问文件或创建远程项目的最简单方法是什么?
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?.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Eclipse 本身支持 FTP 和 SSH。 阿普塔纳没有必要。
Eclipse 中的本机 FTP 和 SSH 支持位于“远程系统资源管理器最终用户运行时”插件中。
通过 Eclipse 本身安装它。 这些说明可能会因您的 Eclipse 版本而略有不同:
Kepler - http://download.eclipse.org/ releases/kepler
使用它,在 Eclipse 中:
编辑:要更改默认端口,请按照本页上的说明操作:http://ikool.wordpress.com/2008/07/25/tips-to-access-ftpssh-on- Different-ports-使用-eclipse-rse/
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:
Kepler - http://download.eclipse.org/releases/kepler
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/
将 Aptana 插件 安装到您的 Eclipse 安装中。
它具有内置的 FTP 支持,并且运行良好。
您可以:
事实上,FTP 支持非常好,我现在使用 Aptana(或 Eclipse + Aptana)来满足我所有的 FTP 需求。 另外,我还获得语法突出显示/任何编码支持。 诚然,Eclipse 并不是启动速度最快的应用程序,但它并没有让我太烦恼。
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.
您检查过RSE(Remote S< /strong>系统Explorer) ? 我认为这非常接近您想要实现的目标。
关于它的博客文章,带有屏幕截图
have you checked RSE (Remote System Explorer) ? I think it's pretty close to what you want to achieve.
a blog post about it, with screenshots
我不确定这是否适合您,但是当我使用 Eclipse 执行小型单独 PHP 项目时,我设置的第一件事是用于将项目部署到远程测试环境的 Ant 脚本。 我在本地进行编码,每当我想测试它时,我只需点击更新远程站点的快捷方式即可。
Eclipse 具有良好的开箱即用的 Ant 支持,并且脚本并不难编写。
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.
SFTP 插件:
http://www.jcraft.com/eclipse-sftp/
:)
SFTP Plug-in:
http://www.jcraft.com/eclipse-sftp/
:)
由于提到的其他解决方案都不能让我满意,我编写了一个脚本,当触发 eclipse 的自动构建功能时,它使用 WinSCP 将项目中的本地目录同步到 FTP(S)/SFTP/SCP 服务器。 显然,这是一个仅限 Windows 的解决方案。
也许有人觉得这很有用:
http: //rays-blog.de/2012/05/05/94/use-winscp-to-upload-files-using-eclipses-autobuild-feature/
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/