------------------------------------------------------------------------------
Upgrading Dftpd

NOTE: Before upgrading Dftpd make sure the server is stopped and all DftpdI
      windows are closed.

------------------------------------------------------------------------------

Windows:

    Run -> setup-Dftpd_<version>.exe

    Starting with version 1.0.5_beta the installation wizard will detect the
    currently installed version and only perform the necessary changes without
    overwriting the server configuration or user settings.


UNIX:

    Extract Dftpd_<version>.tar.gz

        Run -> gunzip Dftpd_<version>.tar.gz

            This will unzip the .gz file (result is Dftpd_<version>.tar)

        Run -> tar -xf Dftpd_<version>.tar

            This will extract the contents of the .tar file to the current
            directory (result is the "dftpd" directory tree).

    If you already have a previous version of Dftpd installed you should only
    replace the files that changed.  To do this copy the new/changed files
    from the Dftpd directory that was just extracted into the corresponding
    directory of your previous installation.

    --------------------------------------------------------------------------

    To upgrade from version 1.0.4_beta to 1.0.5_beta the following files
    should be added/replaced:

    cp -f [Extracted Dftpd directory]/Readme.txt [Dftpd root directory]/

    cp -f [Extracted Dftpd directory]/bin/dftpd [Dftpd root directory]/bin/
    cp -f [Extracted Dftpd directory]/bin/indiftpd [Dftpd root directory]/bin/

    cp -f [Extracted Dftpd directory]/docs/changes.txt [Dftpd root directory]/docs/
    cp -f [Extracted Dftpd directory]/docs/dftpd.txt [Dftpd root directory]/docs/
    cp -f [Extracted Dftpd directory]/docs/mirrors.txt [Dftpd root directory]/docs/
    cp -f [Extracted Dftpd directory]/docs/upgrade.txt [Dftpd root directory]/docs/

    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.help [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.defmirror [Dftpd root directory]/ftp-data/help/

    cp -f [Extracted Dftpd directory]/dftpdi/dftpdi.class [Dftpd root directory]/dftpdi/
    cp -rf [Extracted Dftpd directory]/dftpdi/ConfigurationFile [Dftpd root directory]/dftpdi/ConfigurationFile
    cp -rf [Extracted Dftpd directory]/dftpdi/FTPClient [Dftpd root directory]/dftpdi/FTPClient
    cp -rf [Extracted Dftpd directory]/dftpdi/GUI [Dftpd root directory]/dftpdi/GUI
    cp -rf [Extracted Dftpd directory]/dftpdi/images [Dftpd root directory]/dftpdi/images

    The files needed to upgrade from 1.0.4_beta to 1.0.5_beta can be 
    automatically copied using the script "upgrade_1.0.4_beta.sh".  You must
    modify the DESTDIR variable in the script if the root path of the Dftpd
    installation is not "/dftpd".

    --------------------------------------------------------------------------

    To upgrade from version 1.0.3_beta (or older) to 1.0.5_beta the following files
    should be added/replaced in addition to the ones above:

    cp -f [Extracted Dftpd directory]/docs/distrib.txt [Dftpd root directory]/docs/
    cp -f [Extracted Dftpd directory]/docs/distrib_fig1.jpg [Dftpd root directory]/docs/
    cp -f [Extracted Dftpd directory]/docs/distrib_fig2.jpg [Dftpd root directory]/docs/
    cp -f [Extracted Dftpd directory]/docs/distrib_fig3.jpg [Dftpd root directory]/docs/

    cp -f [Extracted Dftpd directory]/etc/remote.mirrors [Dftpd root directory]/etc/

    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.addalias [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.change [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.tunnel [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.chgrp [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.fratio [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.gadduser [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.group [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.help [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.link [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.addmirror [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.delmirror [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/remote.mirrors [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.copy [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.dirmirror [Dftpd root directory]/ftp-data/help/
    cp -f [Extracted Dftpd directory]/ftp-data/help/site.request [Dftpd root directory]/ftp-data/help/

    The files needed to upgrade from version 1.0.3_beta (or older) to 
    1.0.5_beta can be automatically copied using the script "upgrade_old.sh".
    You must modify the DESTDIR variable in the script if the root path of
    the Dftpd installation is not "/dftpd".

    --------------------------------------------------------------------------
