how about accept=".txt" no *
tw On 5/23/06, Tim Do <[EMAIL PROTECTED]> wrote: > I've tried both..same result > > accept = "text/plain,text/richtext" > > And I have > > enctype="multipart/form-data" > > -----Original Message----- > From: Andy Matthews [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 23, 2006 12:45 PM > To: CF-Talk > Subject: RE: Upload txt file > > Looks like you've got your "accept" attribute's value set incorrectly. > http://www.techfeed.net/cfQuickDocs/?cffileh > > Instead of "*.txt", it should be "text/plain". > > <!----------------//------ > andy matthews > web developer > certified advanced coldfusion programmer ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > -----Original Message----- > From: Tim Do [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 23, 2006 2:33 PM > To: CF-Talk > Subject: Upload txt file > > > Hello All, > > I'm trying to do a simple upload of a text file but I'm getting: > > > The MIME type of the uploaded file "message/rfc822" was not accepted by > the server. > > > Only files of type "*.txt" can be uploaded. > Verify that you are uploading a file of the appropriate type. > > plz help :) > > here is what I have: > > <cffile action = "upload" > fileField = "abaFile" > destination = "\\devone\insite\eft" > accept = "*.txt" > nameconflict="makeunique"> > > thx! > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241257 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

