<!--- Get the file and put it on the server ---> <cffile action="UPLOAD" destination="C:\Inetpub\hostroot\somewhere..." filefield="myfile">
<!---Get the file name for the database ---> <cfset fileNAME ="#cffile.serverfile#"> I've got no problem uploading a file like above (ignoring all the options above for brevity), but I need to: a. rename each file to a specific name (matches a project number) b. maintain the file type extension (could be any number of things) c. get it out on the server d. write the new name to the database So, I *could* put the file, then go find it and rename it, but that seems too many steps. What's the best way to get this done? -- ----------- Les Mizzell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213055 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

