在 netbeans 6.9 中的项目的多个 FTP 帐户之间切换
您好,我有一个项目链接到多个镜像 ftp 帐户。例如,我配置了三个ftp帐户本地服务器、开发服务器、生产服务器。每当我在本地主机中编辑文件时,我都可以通过右键单击该文件并选择上传将它们上传到服务器。
默认情况下,当你右键单击一个项目时,->设置配置->自定义,您可以选择要使用哪个 FTP 来上传当前项目。每次,我进行更正时,都会添加一些我想要执行以下操作的功能。我想将其上传到任何一台 ftp 服务器。例如,可以在生产服务器中上传重要的更正,但不应在生产服务器中上传新的功能文件。我所做的是,每次当我想上传到不同的服务器时,我都会更改配置设置。这实在是让我很头疼。
有没有可用的插件,当我单击上传时显示一个简单的下拉菜单,以便我可以选择应该上传哪个 FTP。对于这个问题的任何类似功能或任何其他替代建议都非常感激。提前致谢...
Hi i have a project which is linked to multiple mirror ftp accounts. For example, i have configured three ftp accounts Local server, development server, production server. Whenever i edit a file in my localhost, i can upload them to server by right clicking the file and selecting upload.
By default, when you right click a project,->set configuration -> customize, you can select which FTP you want to use for uploading for current project. Every time, i do a correction, i add a few features i want to do the following. I want to upload it to any one of the ftp servers. For example, important corrections can be uploaded in production server, but new feature file should not be uploaded in production. What i do is, i change the configuration setting everytime when i want to upload to different server. This is really a headache for me.
Is there any plugin available which shows a simple drop down menu when i click upload, so i can choose which FTP should i upload it. Any similar functionalities or any other alternative suggestions for this problem is really appreciated. Thanks in advance...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://kenai.com/projects/nb-remotefs/sources/mercurial/content/remotefs-ftp/src/org/netbeans/modules/remotefs/ftp/client/FTPClient.java?rev=44
You can modify the source in such a way that to accept a host name.Currently in this piece of code
the host name is taken from a class file by reading the config(I think so).So making a change to your requiremtn
will not be that much difficult.