VSFTPD: Force Upload Only No Downloads

by Vivek Gite [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

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 2 comments… read them below or add one }

1 franklin 11.22.08 at 5:42 am

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 soundar 11.22.08 at 6:05 am

is there any we can do by user?

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tagged as: , , , , , ,

Previous post: Update FreeBSD Using Proxy Server (csup / portsnap proxy update)

Next post: HP-UX: Boot Into Single User Mode