VSFTPD: Force Upload Only No Downloads

Posted on in Categories , , , , last updated November 21, 2008

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

3 comment

  1. I have a requirement.. where users will able to upload file into ftp but once upload thay should not able to delete those file… if it possible through vsftpd ……….

Leave a Comment