VSFTPD: Force Upload Only No Downloads

last updated in Categories , , , ,

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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 3 comments/add one below):

3 comment

  1. hi vivek,
    i am one of ur favorite.am usik redcat el5.
    whether vsftd sekure or not then mi humble reqst explain pasive and activ

  2. 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 ……….

    Have a question? Post it on our forum!