mod_ftpd Documentation

Home » Projects » Apache » Mod_ftpd » Docs » mod_ftpd Documentation

Up: Configuration Directives --- Next: FTP Default provider

Main Module Directives

FtpProtocol

Whether this server is serving the FTP protocol. The default is Off

FtpShowRealPermissions

Show Real Permissions of files? the default is Off. When Off files will show as mode 644, and directories as 755.

FtpFakeGroup

If FTPShowRealPermissions is OFf then this is the group name that is displayed in directory listings. The default is ftp.

FtpFakeUser

If FTPShowRealPermissions is OFf then this is the user name that is displayed in directory listings. The default is ftp.

FtpAllowActive

Allow active(PORT) data transfers from the server. The default is On.

FtpAllowFXP

Allow FXP transfer mode. That is to allow using two control connections to two different server and have them transfer files directly to each other. If this is off then data connections are only allowed to come from the client that has the control connection. The default is Off.

FtpPasvMinPort

Minimum PASV port to use for Data connections. The default value is 1024. This value must be less than FTPPasvMaxPort.

FtpPasvMaxPort

Maximum PASV port to use for Data connections. The default value is 65535. This value must be greater than FTPPasvMinPort.

FtpPasvOverrideAddr

Override the Passive source port (the ftp server) returned to the client with this IP. The default is to use the IP based on incoming connection.

FtpPasvOverrideAddrExclusion

CIDR formatted (ip/{mask or # of bits) netblock that will NOT be overriden when FtpPasvOverrideAddr is set. Example: 192.168.1.0/24

FtpChrootOrder

This is the chroot provider order to use for determining what chroot dir the user should be locked into. The providers are separate modules that must be loaded after mod_ftpd.so (dbm, dbi, default, and fail are included). The default is to do no chroot mapping. A value of none empties the chroot order list.

FtpLimitOrder

This is the limit provider order to use for determining when too many users are logged into the FTP server. Currently there is only the default provider. As with the Chroot providers, these are separate modules that must be loaded after mod_ftpd.so. The default is to do no limiting. A value of none empties the limit order list.

FtpServerAnnounce

Setting this to Off will prevent the mod_ftpd/VERSION tag from being added to the server header in Apache HTTP requests. This does not change the initial server response when a client connects via FTP to the server. The default value is On.

FtpAllowOverwrite

Setting this to On will prevent an ftp client from overwriting an existing file. In order for the file to be replaced, it must be deleted from the server first (DELETE method rights). This is good for an upload only directory where you do not want users overwriting existing files. The default value is On.

<Limit>, <LimitExcept> methods

To limit what users can and cannot do in directories the Limit and LimitExcept must be used.

CHDIR

ability to change into this directory (required for login)

GET

ability to download a file

LIST

ability to get a directory listing

PUT

ability to upload a file

APPEND

ability to append to an existing file (either APPE, or STOR with REST)

DELETE

ability to delete a file

MKCOL

ability to make a directory

XRMD

ability to delete a directory

MOVE

ability to move files or directories