Try dumping all of the properties to be sure you're using the right one; seeing everything available always helps.
After your upload: <cfdump var="#cffile#"> Adam. > -----Original Message----- > From: Darren Adams [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 10:03 AM > To: CF-Talk > Subject: cffile with unique names > > > Hello, > > I am uploading an image and then inserting a record into the database. > > So that there are no name clashes I have set the tag to make unique > files names. > > However, when I refer to the uploaded file name e.g. > cffile.serverfilename etc. > It seems to list the name of the file before it was made unique. > > > Has anyone else experienced this and do you know what going on ? > > > Thanks, > > Darren Adams > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4