I'm trying to make an image upload in flex, which, once uploaded, is sent to Amazon S3.
But, I need to know the MIME content type of the file.
For PCs, I can just check the file extension, but what about Macs? I know it's an image, but I don't know if it is gif, jpeg, etc.
I can't get Flex (on the client side) to determine the content type of the file reference. How can I do this?
I've seen this:
But again it relies on filename extensions, not available on Mac, I tihnk. (I don't have one.)