Content taken from https://www.digitalocean.com/community/tutorials/how-to-enable-sftp-without-shell-access-on-ubuntu-16-04
Add a test user account to 'own' the uploads directory
sudo adduser testuser
Create the uploads directory
sudo mkdir -p /var/sftp/uploads
sudo chown root:root /var/sftp