Question
CFFILE Upload - Accept
From Adobe's help page about CFfile Upload and the accept attribute...
Limits the MIME types to accept. Comma-delimited list. For example, the following code permits JPEG and Microsoft Word file uploads:
accept="image/jpg, application/msword"
The browser uses the file extension to determine file type.
- Then why can't I list acceptable file extensions instead of trying to figure out all of the mime types for a particular file?
- Is there a downside to using extensions vs mime types?
Thanks
