The file information from the client machine is stored in a series of variables called cffile.clientfile[whatever] so cffile.clientfile will give you the name of the file and cffile.clientfileext will give you the extension of the file from the client machine... all of the same information for the file which gets stored on the server ( the uploaded copy ) are stored in a series of variables called cffile.serverfile[whever] ... All of this is in the docs for CFFILE, though it can take some getting used to -- p.s. unfortunately the variables returned from cffile during an upload are not in a structure in CF 5 and prior, they're all just individual variables -- which stinks, but what can you do. :)
Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 > I am trying to upload a file using CFFILE. I can get it > to wrok just fine. But > what I can't do is get the name of the file BEFORE I use > CFFILE. When I try to > output the name of the file input box, I get some weird > name with an extension > of .tmp. Can anyone help me with what I need please? > Thanks, > Brian Yager > President - North AL Cold Fusion Users Group > http://www.nacfug.com > Sr. Systems Analyst > Sverdrup/CIC > [EMAIL PROTECTED] > (256) 842-8342 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~| > Archives: > http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 > Subscription: http://www.houseoffusion.com/index.cfm?sideb > ar=lists&body=lists/cf_talk > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Signup for the Fusion Authority news alert and keep up > with the latest news in ColdFusion and related topics. > http://www.fusionauthority.com/signup.cfm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk 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

