Netbeans plugin ftp site deployer

Netbeans Plugin Ftp Site Deployer

FtpSiteDeployer is a new Netbeans plugin. It is not a standalone FTP Client, it works only inside Netbeans IDE.


The FTP Plugin for Netbeans allows to upload a single file or a folder to ftp server. Was designed and is particularly usefull for upload changes to a web site developed in Java, but it work also for PHP project and Maven Web Project.  The connection data are stored in the root of the project.  The plugin add a voice to the contextual menu called “upload file” and a voice “Show Change via FTP”. This plugin is approved by Netbeans team so you can download it directy from Netbeans Plugin center, or from Netbeans IDE (menu: tools => plugins)

Download NMB from  netbeans plugins website

What’s new in version 1.90 (31/03/2014)

This version of plugin bring some interesting news:

Show Change via FTP

This new feature do a comparison file by file from your directory to FTP server directory, the result is a check by date, by size. It’s also possibile to download a file from the remote FTP Server, this feature is usefull to check the files uploaded to FTP Server and check missing file.

Download from FTP

Now it’s possible to download a file or a directory (recursive download) from remote FTP server to your project. This feature is only enabled for the files that are not in your projects, in other words the dowload feature work only for the missing files in your local directory.

Diff Windows

This command open the Diff Window Component to check the differences between the local file and a remote file.

Added in version 1.50

  • Directory Cloaking
  • New message during upload
  • Some bug fix
  • Test Connection Button
  • Stop upload process

Download Sources from SourceForge:  use SVN server

How to setup FTP Site Deployer

First of all you have to install the FTP Site Deployer Plugin. Check installation instruction in Netbeans Web Site How to Install a Plugin
When the plugin is installed you will find a new toolbar with “No main project” and a button with “…”


Now it’s time to open your web project and to setup your FTP Connection. Every Web Project can have a FTP Connection. The plugin can manage any number of web projects and switch from one to another project without problem. Open your web project and set it as Main Project


You need to do this manually.
Now it’s time to setup your FTP connection: click on the button in the FTP Plugin Tool bar and you will see the preferences panel:


It’s possibile to choose between three different kind of projects. It’s very important to match your project type, because every projects type has differents source path and build path.

Now from the right button menu (popup menu) in the project view you can choose the item “upload file”.


If you choose a java source file, the FTP Plugin automatically deploy in the remote FTP Server the class version of the selected source file. Before upload class files you have to build your project

21 pensieri su “Netbeans Plugin Ftp Site Deployer

  1. Luca Autore articolo

    The xml configuration file is automatically created when you set up the connection configuration in the toolbar of the plugin. In any case the file should be named AskFtpSiteDeployer.xml in the main directory of your project (the same where is stored the build.xml).

    This is the xml configuration file syntax:

    <?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”? >
    <FtpSiteDeployer host=”myhost” pass=”mypassword” user=”myusername”/>

  2. Alex

    Thank You!
    But something is wrong!
    AskFtpSiteDeployer.xml is there but
    with setting:
    I have error message:
    Selezione : C:/develop/VertrigoServ224/www/www/babiccinatruhla/search.html
    Errore :
    with setting:
    I have error message:
    Selezione : C:/develop/VertrigoServ224/www/www/babiccinatruhla/search.html
    Errore : C:\develop\VertrigoServ224\www\www\babiccinatruhla\build\web\ch.html (Systém nemůže nalézt uvedenou cestu)
    I do not have build directory bacause this is PHP project.
    This plugin is only for JAVA projects?

  3. laurent

    some suggestions:

    - it is possible to add a functionality to test the connection in the configuration page ? (1)
    - will you plan to add a functionality du download a file or a directory ?
    it would be very useful for me because the native ftp functionality in netbeans don’t work with my provider.

    thanks for all

    (1) i made a mistake for the remote directory and i didn’t see it

  4. Luca Autore articolo

    The new plugin release that should be availble in some days will have the “Test Connection” button.
    The download file or directory feature is very interesting we will think about it!

  5. Codelurker

    Thanks for a great plugin. I have been using it for some time, and find it a convenient and useful way to upload. Concerning the new feature \”Show Change via FTP,\” I find it only works on folders within my \”Source\” directory, not on the \”Source\” directory itself; although Netbeans creates HTML in there by default. Thus, unless the feature is enabled for \”Source\”, I can\’t use it on most files on my site.

    I\’m not finding the \”Diff Windows\” command anywhere. I\’m running on Win7, 32-bit.

    I can confirm that the upload item is working fine for me for a PHP site. Also, IMHO, the feature would be better named \”Show Changes vs. FTP\” or \”Show Differences From FTP\”.

  6. Luca Autore articolo

    Thank’s a lot!
    Yes I known that this feature does not work in the “root” directory of the project, I’m working on it and hope to fix on the next minor release.
    You should find the Diff button inside the Show Change Window. It’s displayed and only work for some kind of files.

  7. favdb


    Is it possible to use your plugin for upload on a Sourceforge web site ?

    I got a “Error: Connection refused” when I test, I think it’s about the SFTP-SSH protocol.

  8. Luca Autore articolo

    Actually I don’t think that SFTP is a supported protocol. But this is a very good idea for the next release!

  9. david


    I am trying to configure the plugin for a PHP project. I get this Error “Error – the selected file : // does not belong to the main project.”. Where should I start to correct this? The FTP details are correct

  10. John R

    Does this plugin support HTML5 projects?
    I get an error \”Error – the selected file : xxx does not belong to the main project.\” when I try to upload anything, like my index.html

  11. John R

    Does this plugin support HTML5 projects?
    I get an error
    Error – the selected file : xxx does not belong to the main project.
    when I try to upload anything, like my index.html

  12. Luca Autore articolo

    Actually this plugin supports Java Web Projects, Maven Web Projects and PHP Projects. You can try to work with HTML5 Project with the PHP Project setting, it should works, but you have to check if your destination folder is correct.
    The error “the selected file : xxx does not belong to the main project” means that you don’t have set your main project. To set the main project go to main menu Run -> Set Main Project, this is very important so the plugin can check and initialize the ftp connection.

    Which kind of HTML5 Project are you developing? Are you using one of the pre configured HTML Project setting that you find in new HTML5 Project wizard?

  13. John R

    I used the HTML 5 Project wizard. The project is set as the main project and test connection runs successfully. Would you be able to test if the plugin actually works with a HTML 5 project? Maybe I am doing something wrong. I think this plugin would be perfect for HTML 5 projects. Right now I am just using FileZilla to upload the files I have changed in the project. It would be great if the plugin also integrated with version control so I could automatically upload all the files that have changed. Even if it didn’t, it would still be easier than FileZilla because all the changed files show as blue in Netbeans.

  14. Luca Autore articolo

    Hi John, I will check the plugin functionality with HTML5 Project as soon as I can. Integrate the plugin with CVS (or other version control) is a very good idea! If you have some time can you post me your HTML 5 project directory structure, so I can do some better debugging?

  15. John R

    My HTML5 project has the following structure:
    /public_html/index.html (file in my project I want to upload)
    I was able to get the files to upload if I put them in the root of the project folder. At first I tried moving the whole public_html directory to /project/public_html/ , but it uploaded the file to /public_html/index.html on my external site instead of /index.html
    In an HTML5 project you can set any folder to be the site root, but it appears the plugin only works correctly if your site is in the project directory root. I should also mention I am using Linux, Ubuntu 14.04, and Netbeans 8.0

  16. Luca Autore articolo

    Hi John,
    I’m working on this patch to allow HTML5 project upload. It’s almost done but I still need to do some test. When it’s ready I’ll submit the plugin to Netbeans Plugin Update Center, so you can update it inside Netbeans IDE.

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *

1 + 7 =

È possibile utilizzare questi tag ed attributi XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>