> why would I change the file extension of a word doc (.doc) to > something other than a word doc in order to fix a file upload > feature that should be supporting word documents? > > Anyway to reiterate. Its working in IE, but Firefox does not > seem to identify that the file IS a word document. And this > my upload fails. > > " The MIME type of the uploaded file "application/unknown" > was not accepted by the server" > > Why would the same file be 'accepted by the server' by IE, > but not firefox? what changes should I be making in the > server configuration? > > ... > > code: ( works fine in IE ) > > <cffile action="upload" > filefield="filename" > destination="#home_directory#\uploaddata\" > nameconflict="makeunique" > > accept="text/html,application/msword,text/plain,application/rt > f,text/enriched,text/richtext,application/octet-stream" > >
Presumably, when IE uploads a Word document, it uses a different MIME type than Firefox does. If Firefox uses application/unknown, you'll have to change your CFFILE's ACCEPT attribute to allow application/unknown. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220271 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

