proFtpd configuration / tuning- If you want to block certain types of files to be uploaded, add this directive in /etc/proftpd.conf:
PathDenyFilter "\\.(bas|bat|cmd|com|hta|lnk|pif|scr|exe)$"
- If you want to limit the proftpd cpu/memory usage (High Recommended), use (in this example, 10% of cpu and 4mb of memory):
RLimitCPU session 10
RLimitMemory session 4096
- If you want to limit the max upload / download file size, use:
MaxStoreFileSize 30 Mb
MaxRetrieveFileSize 30 Mb
#/etc/init.d/proftpd restart
special thank to :
http://forum.directadmin.com/showthread.php?t=9348