[ Previous ] [ Contents ] [ Index ] [ Next ]

Configuring the nsftp Module

You can configure the nsftp module using either the Setup Server or by editing the configuration file.

Setup Server Method

  1. On the Setup AOLserver page, follow the Virtual Servers link. The Setup Virtual Servers page lists all of the virtual servers currently defined. To the left of each server is either a right arrow or a down arrow.

  2. Decide which virtual server you want to add the nsftp module to. If the arrow next to it is a right arrow, click the right arrow so it becomes a down arrow. A list of the currently-defined parameters and currently-loaded modules for that virtual server is displayed.

  3. On the Setup Virtual Servers page, click the Add Module to server-name button.

  4. On the Add Module page, click the toggle by the nsftp module. Click Add to add the module. A page showing the parameters for the module you added is displayed.

  5. Modify the values of any parameters you want to change (they are described on page 95), and click Add Module. If you do not see listed a parameter you need to set, switch to Expert mode and manually type in the parameter name and value. AOLserver will perform some error-checking on your changes and, if no errors are detected, write the information to the configuration file. (Note that not all errors can be detected.) If errors are detected, AOLserver will inform you of the error and you will need to modify the parameters before the information will be written to the configuration file.

  6. To see the effects of your changes, you must restart AOLserver.

Configuration File Method

  1. Edit the nsd.ini configuration file for your server, and add the nsftp module to the [ns/server/server-name/modules] section of one the virtual servers as described on page 87.

    Since the nsftp module uses the permissions system, make sure that the nsperm module is loaded before the nsftp module.

  2. Add the [ns/server/server-name/module/nsftp] configuration section in your nsd.ini file for the nsftp module for the virtual server as described on page 95.

    Here is an example of an nsftp module configuration:

        [ns/server/server-name/modules]
        nsftp=nsftp.so
        
        [ns\server\server1\module\nsftp]
        FtpPort=8111
        FtpAllowKeepAlive=Off
        FtpDebug=Off
        FtpAllowAnonymous=On
        FtpAnonRootDir=/anon
        FtpSysLog=On
        FtpXferLog=On
        FtpSystemUser=nsadmin
        FtpAdminEmailAddr=rosco@yourserver.com
    

  3. Re-start the server so that your configuration changes will take effect.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.