Can't log in to FTP on Debian with vsftpd

This has been solved!

I was able to fix it by removing andrew from the ftpusers file and then setting chroot_local_user=NO (instead of of YES).

I then had to change the owner of the /var/www/ directory to allow the andrew user to write to it: chown andrew /var/www/.

Thanks for all the replies :)