ANONYMOUS (JANUS DEFINE parameter): Difference between revisions
mNo edit summary |
m (→Example) |
||
Line 19: | Line 19: | ||
The above example shows the definition of an FTP port named '''FTP''' that allows all users to log on anonymously, assigning the anonymous logon id of "SMITH" to each anonymous user. | The above example shows the definition of an FTP port named '''FTP''' that allows all users to log on anonymously, assigning the anonymous logon id of "SMITH" to each anonymous user. | ||
If anonymous access is permitted, the default name of the anonymous user is <code>ANONYMOUS</code>. This name can be overridden with the <var>ANONUSER</var> parameter. | If anonymous access is permitted, the default name of the anonymous user is <code>ANONYMOUS</code>. This name can be overridden with the <var>[[ANONUSER (JANUS DEFINE parameter)|ANONUSER]]</var> parameter. | ||
This parameter is valid only for FTPSERVER port types. | This parameter is valid only for FTPSERVER port types. |
Revision as of 17:19, 24 February 2012
<section begin="desc" />ANONYMOUS [maxanon | *]<section end="desc" />
ANONYMOUS is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.
This parameter indicates that anonymous access is permitted to the FTP server being defined. Anonymous access is FTP access that does not require a valid Model 204 user ID. If the ANONYMOUS parameter is not specified, no anonymous access is permitted.
The ANONYMOUS parameter must be followed by a number (maxanon) or an asterisk (*):
- maxanon is an integer in the range from 1 to maxcon that indicates how many of the FTP server's sessions may be used for anonymous sessions. maxcon is the maximum number of simultaneous FTP sessions supported by this server.
- An asterisk indicates that all maxcon sessions are available for anonymous FTP use.
Example
JANUS DEFINE FTP 2121 FTPSERVER 10 ANONYMOUS * ANONUSER SMITH
The above example shows the definition of an FTP port named FTP that allows all users to log on anonymously, assigning the anonymous logon id of "SMITH" to each anonymous user.
If anonymous access is permitted, the default name of the anonymous user is ANONYMOUS
. This name can be overridden with the ANONUSER parameter.
This parameter is valid only for FTPSERVER port types.
References
See: List of Janus commands | List of JANUS DEFINE parameters.