# email of the responsible person for the %E-cookie
email ftp-admin@localhost
# use this as hostname for the %L cookie
#hostname <hostname>

# specify which group of users will be treated as "guests".
#guestgroup ftponly

# There may be multiple "class" commands listing additional members of the
# class. If multiple "class" commands can apply to the current session, the
# first one listed in the access file is used. Failing to define a valid
# class for a host will cause access to be denied.
class   local	real			*
class   remote	guest,anonymous		*

# limit of 20 connections
limit   local     20   Any    /local/ftp/etc/ftp/msg.dead
limit   remote    20   Any    /local/ftp/etc/ftp/msg.dead

# do not show daemon version per default
greeting brief
# output /local/ftp/etc/ftp/welcome.msg on login
banner	/local/ftp/etc/ftp/welcome.msg
#message /local/ftp/etc/ftp/welcome.msg	login	local
#message /etc/ftp/welcome.msg		login	remote
message .message			cwd=*
readme	README*	login
readme	README*	cwd=*

# allow compression/tar for all users
compress        yes             local remote
tar             yes             local remote

noretrieve /etc/passwd /etc/group core

log commands real
log transfers anonymous,real,guest inbound,outbound

# do not allow these commands for anonymous users
chmod no guest,anonymous
delete no guest,anonymous
overwrite no guest,anonymous
rename no guest,anonymous
umask no guest,anonymous

path-filter  anonymous  /etc/ftp/msg.path  ^[-A-Za-z0-9_\.]*$ ^\. ^-
path-filter  guest      /etc/ftp/msg.path  ^[-A-Za-z0-9_\.]*$ ^\. ^-
path-filter  real       /etc/ftp/msg.path  ^[-A-Za-z0-9_\.]*$

#shutdown /etc/ftp/shutmsg

# do not check password for anonymous logins
passwd-check none

