The IsCommandEnabled method is used to determine
whether a specific command is enabled. Typically this method is used
in an event handler to make sure the command issued by a
client is recognized by the server and enabled for use. Commands can
be enabled using the EnableCommand method and disabled using
the DisableCommand method.
This method does not account for the permissions granted to a
specific client session. Clients are assigned access rights when they
are authenticated using the AuthenticateClient method,
and certain commands can be limited by the permissions granted to the
client. For example, even though the STOR command is enabled, a client
must have the FTP_ACCESS_WRITE permission to use the command to
upload a file to the server. For a list of access rights, see
User Access Constants.