开发者

Switching between multiple FTP accounts for a project in netbeans 6.9

开发者 https://www.devze.com 2023-02-03 12:38 出处:网络
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

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 ava开发者_开发问答ilable 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...


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消