Did you dump the cffile scope? What did you see? You can always check the file extension. Although not perfect it does mean anything uploaded will only be accessible as something.rtf.
You'll have to upload the file first and then check it's extension and delete it if it fails your criteria. Ade -----Original Message----- From: Colin Coles [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 13:26 To: CF-Newbie Subject: Re: Application/rtf error [email protected] on Tuesday March 08 2005 at 12:44 +0000 wrote: OK. So I can upload the file without the accept=" " definition and it uploads correctly to the remote directory as an rtf. The problem is that I want to prevent people from uploading anything else. Colin Coles ICT Development Manager John Cabot City Technology College Tel 0117 976 3000 Ext 2112 Mobile: 07734395347 E Mail: [EMAIL PROTECTED] Alt: [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:734 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
