Thursday, August 20, 2009

VSFTPD: Force Upload Only No Downloads

SkyHi @ Thursday, August 20, 2009
Question: How do I configure my VSFTPD ftp server to upload files but disable all file download requests under Debian Linux?

Answer: You can easily configure vsftpd to disallow all download requests. You
VSFTPD ftp server download_enable option

If set to NO, all download requests will give permission denied.
Configure vsftpd to disallow all download requests

Open vsftpd.conf file:
# vi /etc/vsftpd.conf
Set download_enable to NO:
download_enable=NO
Save and close the file. Restart vsftpd ftp server:
# /etc/init.d/vsftpd restart