VSFTPD: Force Upload Only No Downloads

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

ADVERTISEMENTS

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

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
3 comments… add one
  • franklin Nov 22, 2008 @ 5:42

    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

  • soundar Nov 22, 2008 @ 6:05

    is there any we can do by user?

  • Debojyoti Banerjee Jul 21, 2011 @ 5:24

    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 Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.