Installation

Binary Distribution

Download the binary distribution and unzip it. You can run the server in two modes - with and without Java Swing UI. The zip file includes sample configuration files (properties and xml).

  • Properties configuration file : <INSTALL_DIR>/res/conf/ftpd.properties
  • XML configuration file : <INSTALL_DIR>/res/conf/ftpd.xml

If you want to use your own jar files, you can put those jar files in system CLASSPATH or copy those jar files in the <INSTALL_DIR>/common/lib directory. If you want to run it using Swing UI, go to <INSTALL_DIR> directory and execute the script ftpd_ui.bat (if Windows) or ftpd_ui.sh (if UNIX).

Similarly, if you want to start the FTP server without Swing UI, go to <INSTALL_DIR> directory and execute ftpd.bat (if Windows) or ftpd.sh (if UNIX or Linux). In this case you need to pass the configuration file location. Usage:

ftpd [<options>]
  <options> := -default |
               -xml <XML configuration file> |
               -prop <properties configuration file>

Installing FtpServer as a Windows service

There are three ways to start the FTP server.

  • -default :: default configuration will be used.
  • -xml :: XML configuration will be used. User has to specify the file.
  • -prop :: properties configuration will be used. User has to specify the file.

In case of no option, default configuration will be used.

Binary Distribution Directory Structure

 <INSTALL_DIR>
      |
      |--- common
      |     |
      |     |--- classes
      |     |
      |     |--- lib
      |
      |--- doc
      |     |
      |     |--- javadoc
      |
      |--- res
            |
            |--- conf
            |
            |--- home
            |
            |--- log