VSFTPD: Force Upload Only No Downloads

by on November 21, 2008 · 3 comments· LAST UPDATED November 21, 2008

in , ,

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



If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed.


{ 3 comments… read them below or add one }

1 franklin November 22, 2008 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

Reply

2 soundar November 22, 2008 at 6:05 am

is there any we can do by user?

Reply

3 Debojyoti Banerjee July 21, 2011 at 5:24 am

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

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , ,

Previous Faq:

Next Faq: