ClientFile is the name of the original file uploaded by the client. ServerFile is the name of the file after it's uploaded to the server. If you're doing a rename you may need Serverfile.
Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -----Original Message----- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 3:38 PM To: CF-Talk Subject: Re: File upload ClientFile is the variable you are looking for. Bruce Rick Sanders wrote: > Hello list, > > > > After someone uploads a file in the form field, how can I grab the file name > from the <cffile action ="upload">? > > I've been through the documentation, and I can't see how to retrieve the > file name from the file field? > > I tried displaying the #form.filefield# but it just shows me the temp path > where CF uploaded the file to!? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

