----- Original Message ----- 
From: "oneworld95" <[email protected]>
To: <[email protected]>
Sent: Friday, January 16, 2009 9:21 PM
Subject: [flexcoders] Get file type before upload


> Hi. Is there a way to discover the file type before you do an upload
> on a FileReference object? I know we can read the file extension but
> users can fiddle with that. Is there a way to read something on the
> file to ensure it's an image type of JPG, PNG, or GIF? Thanks.

Not as far as I know. If users mess up file extensions for upload, it's 
their lookout, surely?

Paul 

Reply via email to