You could use JS to put the file name in a hidden field before upload.
On 10/5/07, Matt Williams <[EMAIL PROTECTED]> wrote: > > Is it possible to get the name of the client's file before doing cffile? > > I am testing for file size by doing a cfdirectory and filtering on the > neoXXXXX.tmp file name provided in the form field. If the file size is > too large, I would like to tell the user which file (this is a > multiple upload form) was denied. > > I know I could upload the file to a temporary location and then move > it, but that is more than I want and defeats the purpose in a way. > > I'm pretty sure the answer is no, but just wanted to double-check. > > Thanks, > > -- > Matt Williams > "It's the question that drives us." > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290361 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

