Martini-man

Member
Dec 23, 2003
7
0
151
i've tried everything and i can't enable proftpd fxp...

This is my config:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

AllowForeignAddress on

ServerName "ProFTPD"
AuthUserFile /etc/proftpd/passwd.vhosts
ServerType standalone
DeferWelcome off
DefaultServer on
DefaultRoot ~ !wheel

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# Set the user and group that the server normally runs at.
User nobody
Group proftpd

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# Custom entry for resumes and fxp
<Global>
AllowStoreRestart on
AllowForeignAddress on
</Global>

# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
UseFtpUsers on
RequireValidShell off

User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

<Limit LOGIN>
AllowAll
</Limit>
# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

</Anonymous>