santner Posted December 6, 2004 Report Share Posted December 6, 2004 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 Quote Link to comment Share on other sites More sharing options...
santner Posted December 7, 2004 Author Report Share Posted December 7, 2004 Bump Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.