File.clientfield should give the name of the file before upload and file.serverfile the name after (in the case it was not renamed it will be the same as File.clientfield).
-----Original Message----- From: Snake [mailto:[EMAIL PROTECTED] Sent: 12 December 2005 14:02 To: CF-Talk Subject: RE: How to determine the name of a file upload If you want to know the filename b4 upload, get it from the formfield via javascript. -- Snake -----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 12 December 2005 05:14 To: CF-Talk Subject: Re: How to determine the name of a file upload But it doesn't provide the temp file name and it does all of this after the upload anyway. On 12/12/05, John Wilker <[EMAIL PROTECTED]> wrote: > You need to know before upload? > > <cffile> provides the info in the file scope. > > file.ServerDirectory, > file.ServerFile, > etc.. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:226785 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

