i | n | f | r | a | d | i | g |
FTP directive | Meaning |
---|---|
(can occur in 'ifftp.txt' file) | |
NOTFTP [0|1] | Trivial FTP server |
NOFTP [0|1] | FTP server |
NOFTPS [0|1] | FTP+SSL server |
TFTP_PORT 69 | Specifiy port number to use (also note BIND keyword) |
FTP_PORT 21 | Specifiy port number to use (also note BIND keyword) |
FTPS_PORT 998 | Specifiy port number to use (also note BIND keyword) |
NOANONYMOUS [0|1] | |
LOGF ../data/ftp.log | FTP-server log files |
LOGFILEFORMAT [clf|eclf|iis|eiis] | Specify log file format |
TFTPROOT path | Root document directory for the tftp-server |
FTPROOT path | Root document directory for the ftp-server |
USERROOT path | Root user directory for a virtual host or default |
<VHOST hostname> | Start mapping virtual host |
</VHOST> | End mapping virtual host |
<VUSER userid> | Start mapping virtual user |
</VUSER> | End mapping virtual user |
<VDIR virtual> | Start mapping virtual directory for a virtual host or default |
</VDIR> | End mapping virtual directory |
ALIAS account | Alias the virtual user to a real account |
DIRECTORY path | Set the physical directory for a virtual host or default |
AUTH [userid] | Require a userid to log in and read |
NOAUTH | Don't require a userid to log in and read |
MAUTH [userid|*] | Require a userid to log in and modify |
NOMAUTH | Don't require a userid to log in and modify |
PERMIT [ip-address|hostname] | Grant 'ip-address' or 'hostname' access |
EXCLUDE [ip-address|hostname] | Deny 'ip-address' or 'hostname' access |
Note: this path can be a relative path. Forward slashes ('/') are allowed under Windows.
Note: this path can be a relative path. Forward slashes ('/') are allowed under Windows.
PERMIT 10.* PERMIT domain.com PERMIT *.research.mydomain.com
Use the "ORDER PERMIT EXCLUDE" (the default) or "ORDER EXCLUDE PERMIT" to specify processing options.
EXCLUDE 10.0.*.0 # Training room EXCLUDE bdlg3.mydomain.comwill deny a certain subnet relay access.
Use the "ORDER PERMIT EXCLUDE" (the default) or "ORDER EXCLUDE PERMIT" to specify processing options.
<VDIR /demo> DIRECTORY ../inetpub/demo AUTH * </VDIR> <VHOST test.mydomain.com> <VDIR /demo> DIRECTORY ../inetpub/demo-test AUTH progs AUTH sales </VDIR> </VHOST> <VHOST dev.mydomain.com> <VDIR /demo> DIRECTORY ../inetpub/demo-dev MAUTH progs </VDIR> </VHOST>
Note: this path can be a relative path. Forward slashes ('/') are allowed under Windows.
<VUSER test> ALIAS u101 <VDIR /demo> AUTH * </VDIR> <VDIR /dev> AUTH progs </VDIR> </VUSER>
<VHOST domain1> <VUSER test> <ALIAS u101 </VUSER> </VHOST> <VHOST domain2> <VUSER test> <ALIAS u102 </VUSER> </VHOST>
<VDIR /incoming> MAUTH * </VDIR>If a <VDIR> definition occurs outside of a <VHOST> definition it applies to the default host. If it occurs inside then it applies to that host only.
Note: this path can be a relative path. Forward slashes ('/') are allowed under Windows.