the accept attribute is optional.  If you want to accept any file, do not use this 
attribute.

"Optional. Limit the file types accepted. Enter one or more comma-delimited MIME types 
that you want to accept. For example, to allow uploads of GIF and Microsoft Word 
files, enter:

accept = "image/gif, application/msword"
The browser uses the file extension to determine file type. "


Doug

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 03, 2003 12:10 PM
>To: CF-Talk
>Subject: Quick CFFILE Accept question
>
>
>Shouldn't it be true if I say accept="*" that it will upload 
>anything?  I
>get this annoying "The MIME type of the uploaded file 
>(image/pjpeg) was not
>accepted by the server. Please verify that you are uploading a 
>file of the
>appropriate type." in my cfcatch.  Any ideas...is there some setting
>actually serverside I need to make?
>
>
>Thanks!
>
>Eric Hoffman
>Datastream Connexion
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to