FYI, this blog post has indicated the same problem same time last year. I am wondering if there is a safer way to use ColdFusion CFFILE to upload files to accept = “image/*, application/-powerpoint, application/-excel. Use CFFILE with the Upload action to upload a file specified in a form field to a Note, The MODE attribute applies to ColdFusion on Solaris and HP-UX, only. more MIME types, each separated by comma, of the file types you want to accept.
|Published (Last):||28 January 2015|
|PDF File Size:||12.10 Mb|
|ePub File Size:||9.13 Mb|
|Price:||Free* [*Free Regsitration Required]|
I looked at the wikidocs for the cffile tag and it says this:.
Looking at the upload action docsit says that it will accept a comma delimited list of mime types. Does this mean that wildcards are no longer accepted?
This code, written by one of our developer’s several months ago, would allow any “image” MIME type. What we discovered is that we couldn’t do this kind of wildcard mapping under CF 10, that we now had to list out each accepted MIME type as a comma delimited list.
I’ll have to check the code to ensure that doesn’t happen!
This is not an image!
Wish I could up-vote it more than one time. FYI, this blog post has indicated the same problem same time last year: Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password.
cffile action = “upload”
Post as a guest Name. Email Required, but never shown.