I worked it out.
I needed to create a .ftpquota file in the domain directory as per the database and chown it to the user that pureftpd runs as (www-data in in my case).
Then you just run:
root@linuxbox:~# pure-quotacheck -u 33 -g 33 -d /home/www/domainname.com
To update the existing directories.