uncomment or add the following line in /etc/vsftpd.conf write_enable=YES then restart sudo systemctl restart vsftpd