I allow users to have SSH/FTP access, and would like to limit what file types they can upload.

For example, I only want them to be able to upload image files and the file extention ".graal"

I use proftd for my FTP server, btw.