Like this:
Code:
chown ftpuser:ftpgroup /path/to/directory
This would change the ownership of that directory only. If you also want to change the ownership of the files and directories that are in that directory, you'd run
Code:
chown -R ftpuser:ftpgroup /path/to/directory