Peter, Sorry if I confused you. I want to only allow alphanumeric characters and underscore or dash allowed in a textfield that my user will put in a filename to rename the file to when the upload is completed.
Too much coffee this morning for me! Terry Troxel -----Original Message----- From: Peter Boughton [mailto:[email protected]] Sent: Sunday, August 23, 2009 9:15 AM To: cf-talk Subject: Re: Help with creating a filename field Not really sure what you're trying to ask so I'll just throw out some stuff that might be helpful: File upload fields are very limited in what you can do with them, for security reasons that I would hope are obvious. Any filtering/modification of filenames will need to be done after upload to the server. Always make sure files are uploaded to a non-web-accessible location, where they are checked/sanitized appropriately, before being placed where you want them to go. If you need more help than that, then try re-stating what you're attempting to do with more than two pieces of punctuation. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325614 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

