Jump to content

Proftpd


santner
 Share

Recommended Posts

I have an ftp server for family pictures. I have setup an account called userftp. I have tested it and the user can log in fine, change directories etc. However, when they attempt to download a file everything appears to be working ok but they never actually receive any data. If you look at the properties of the file after the download it shows 0 bytes. Here is my proftpd.conf file:

 

# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use.  It establishes a single server.

ServerName                      "TESTING FTP Server"
ServerType                      standalone
DefaultServer                   on

# 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

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    10

# Set the user and group under which the server will run.
User                            userftp
Group                           userftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /var/ftp/pub

# Normally, we don't want files to be overwriteable.
<Directory />
 AllowOverwrite                off
 <Limit READ>
  userftp
 </Limit READ>
 <Limit WRITE>
  DenyAll
 </Limit WRITE>
</Directory>

#
# Limit login attempts
#
MaxLoginAttempts                3

# Set the maximum number of seconds a data connection is allowed
# to "stall" before being aborted.
TimeoutStalled                  300

# Enable logging to /var/log
SystemLog    /var/log/proftpd.log
TransferLog    /var/log/xferlog	

# Record all logins
ExtendedLog            /var/log/proftpd.auth_log      AUTH auth

# Paranoia logging level....
ExtendedLog            /var/log/proftpd.paranoid_log  ALL default

 

Do I need to allow more access than just READ access? Is this the source of the porblem? :o :unsure:

 

 

Moved from Software to Networking - Artificial Intelligence

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...