Aug 13, 2008, 1:17:55 PM (14 years ago)
Nicklas Nordborg

References #114. Upgrading to 1.0.0-M2 release of Apache FTP server.

1 edited


  • extensions/net.sf.basedb.ftp/trunk/README

    r717 r741  
    77This package is an extension package to BASE that installs a small FTP
    88server as part of the web server. The code in this package currently
    9 uses non-released software from the Apache foundation. Thus, we can't make
     9uses beta software from the Apache foundation. Thus, we can't make
    1010any guarantee about functionality or stability of this extension. We recommend
    1111testing on a development server before using this software in a production
    1616   http://baseplugins.thep.lu.se/wiki/net.sf.basedb.ftp
    1717 * The Apache FTP server site:
    18    http://mina.apache.org/ftpserver.html
     18   http://mina.apache.org/ftpserver/index.html
    2020== Installation ==
    2222 1. Download the `base-ftpserver-*.tar.gz` file.
    2323 2. Unpack the downloaded file to a directory of your choice.
    24  3. Copy the `ftp.config` file to `WEB-INF/classes` directory.
    25  4. The default `ftp.config` file creates a regular FTP service with the
    26     control connection on port 2121 accepting connections from the local
    27     host only. To allow extenal connections the three settings listed
    28     below needs to be changed. It should work to change the value
    29     to the ip number (using names doesn't seem to work) of your BASE server.
    30     For more information about configuration options see:
    31     http://mina.apache.org/ftpserver-documentation.html
    33     * config.listeners.default.address
    34     * config.listeners.default.data-connection.passive.address
    35     * config.listeners.default.data-connection.passive.external-address
     24 3. Copy the `ftp-config.xml` file to `WEB-INF/classes` directory.
     25 4. The default `ftp-config.xml` file creates a regular FTP service with the
     26    control connection on port 2121. There is also an example of an
     27    SSL-enabled configuration. For more information about configuration
     28    options see: http://mina.apache.org/ftpserver/documentation.html 
    3729 5. Copy the `base-ftpserver.jar` file and the `lib` directory, including sub-
    3830    directories and files, to your BASE extensions directory, `WEB-INF/extensions`.
    4840 8. Done.
    50 == Known issues / limitation ==
     42== Known issues ==
    52  * It is not possible to specify a `user-manager` or `file-system-manager`
    53    in the `ftp.config` file. Those settings will be replaced by BASE-specific
    54    options.
    5644 * BASE allows that a directory has the same name as a file. This may confuse
    5745   FTP clients since that is normally not allowed. The result for certain
    5846   operations is undefined for files and directories that has the same name.
     48== Tips and tricks ==
     50 * If you want to try out an SSL enabled FTP server, but doesn't have
     51   a certificate, you may create one with the following command:
     53   `keytool -genkey -keystore test.jks -storetype JKS -storepass test -keypass test  -alias test`
    6055== Compiling ==
Note: See TracChangeset for help on using the changeset viewer.