...further...
Replace vsftpd with $wwwowner throughout classapp.php where ownership is concerned and set the www-data as the owner of the vsftpd process in /etc/vsftpd.config
...further...
Replace vsftpd with $wwwowner throughout classapp.php where ownership is concerned and set the www-data as the owner of the vsftpd process in /etc/vsftpd.config