Netbeans Plugin Ftp Site Deployer


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

Description

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:  https://sourceforge.net/projects/ftpsitedeployer/  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 “…”

netbeans-ftp-plugin-step-0

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

netbeans-ftp-plugin-step-1

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:

netbeans-ftp-plugin-step-2

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”.

netbeans-ftp-plugin-step-3

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

11 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”? >
    <root>
    <FtpSiteDeployer host=”myhost” pass=”mypassword” user=”myusername”/>
    </root>

  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 : java.net.UnknownHostException: srv3.endora.cz/babiccinatruhla.hys.cz/web/
    And
    with setting:
    I have error message:
    Selezione : C:/develop/VertrigoServ224/www/www/babiccinatruhla/search.html
    Errore : java.io.FileNotFoundException: 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

    hi,
    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.

Lascia un Commento

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

È 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>