The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

proftpd

Discussion in 'General Discussion' started by multivol, Oct 6, 2002.

  1. multivol

    multivol Active Member

    Joined:
    Sep 1, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Can someoen paste to me what is supposed to be in /etc/proftpd.conf?

    Because right now the error its giving me is:

    Getting listing &&...
    Connecting to ftp server ip:21 (ip = iphere)...
    Socket connected. Waiting for welcome message...
    500 Sorry, no server available to handle request on servername.com.
    Syntax error, command unrecognized.
     
  2. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:8802f20c43][i:8802f20c43]Originally posted by multivol[/i:8802f20c43]

    Can someoen paste to me what is supposed to be in /etc/proftpd.conf?

    Because right now the error its giving me is:

    Getting listing &&...
    Connecting to ftp server ip:21 (ip = iphere)...
    Socket connected. Waiting for welcome message...
    500 Sorry, no server available to handle request on servername.com.
    Syntax error, command unrecognized.[/quote:8802f20c43]
    this is a sample proftpd.conf (global section only)
    [quote:8802f20c43]
    # This is a basic ProFTPD configuration file
    DisplayConnect /etc/issue.net

    # '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.

    ServerName &ProFTPD&
    AuthUserFile /etc/proftpd/passwd.vhosts
    LogFormat BytesLog &%b&
    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&

    # 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&
    [/quote:8802f20c43]
     
Loading...

Share This Page