在 netbeans 6.9 中的项目的多个 FTP 帐户之间切换

发布于 2024-10-10 18:37:00 字数 394 浏览 3 评论 0原文

您好,我有一个项目链接到多个镜像 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

留一抹残留的笑 2024-10-17 18:37:00

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文