| iMatix home page | Xitami home page | << | < | > | >> |
![]() Version 2.2c |
Xitami supports the FTP (file transfer) protocol. The FTP service was designed to be simple and easy to administer, while providing the security and speed necessary for a web site. You can administer the FTP service from the BBA screens, in the same way as you administer the rest of Xitami.
The current implementation of FTP does not support virtual hosts, so the FTP configuration applies to all virtual hosts defined for a web site.
The FTP service recognises these commands, and handles those not marked by '*':
USER PASV STOU* MAIL* ALLO* CWD PWD XMKD PASS TYPE SYST MSND* REST* CDUP RMD XRMD ACCT* STRU* XSYS* MSOM* RNFR XCWD SITE* XPWD REIN* MODE* PASV MSAM* RNTO LIST STAT* XCUP* QUIT RETR APPE* MRSQ* ABOR MKD HELP XEXC* PORT STOR MLFL* MRCP* DELE NLST NOOP
The configuration of the FTP service is handled by specific sections in the standard configuration file.
This section controls the FTP service.
This section controls the FTP access log.
This section lets you define multiple FTP file roots. Each alias alias specifies a name and a path. For example:
[FTP-Alias] volume-c=C:\
The alias name may not contain '/'. It is not case sensitive. FTP aliases are only shown to users who's root directory is "/", i.e. who work at the ftproot level. Like HTTP aliases, the FTP alias is always the first component of a filename (e.g. /volume-c/somefile).
This section controls the FTP error log.
The FTP user file defines all users that may log-in to the FTP server. This is a typical user file:
[Admin] Access=* Password=- Root="" # Will have access to aliases [Anonymous] Access=G Password=* Root=pub [Guest] Access=G Root=c:\public\guest [Upload] Access=P Password=upload Root=/tempfiles/upload
The user name is specified like this: [Admin]. User names are not case-sensitive. The password may be any text. The password may be one of these special values:
The access rights are any combination of:
The 'root' option defines where the user can work. If this is not specified, the user can work anywhere below the FTP root directory. You can also specify a full path, for instance:
root=/home/users/guest
The FTP directory file defines access rights per user for specific directories. Each section is a directory name; either an absolute directory (e.g. [/pub]) or a child of the ftproot directory (specified without a leading slash: [pub]). Under Windows, do not use '\' in directory names: all comparisons are done using the UNIX-style forward slash, '/'.
A directory entry covers all child directories, unless a more specific directory is defined for that user. Directory names are not case significant, and '-' and '_' are treated equally.
Each entry specifies access rights for a user; the user must have been defined in the FTP users file. The same access right codes are used.
| << | <
| > | >>
| Welcome To Xitami | Table Of Contents | Installing Xitami | Administration | Configuration | Using CGI | Using SSI and Filters | Image Maps | Virtual Hosting | The FTP service | A Beginner's Guide | FAQ | Writing Web Server Extension (WSX) Agents | Extending Xitami with External Peer Processes | Technical Implementation | Getting Support | Release History | License Agreement |
![]() Copyright © 1996-97 iMatix |