You can use client side javascripting to make a hidden textfield. When user clicks submit, set the value of the hidden field to value contained by the filefield. I haven't tried that.... but I guess it should work... atleast theoretically :D
Regards, Arsalan -------------------------------------------------- From: ".jonah" <[email protected]> Sent: Sunday, July 18, 2010 7:10 AM To: "cf-talk" <[email protected]> Subject: Getting uploaded file name without <CFFILE action="upload" > > I need to upload files and then immediately turn around and re-upload > them to another site using <CFHTTP ... > > I thought it might be nice to just use the file uploaded into the tmp > directory but it of course doesn't have the original file name. > > #form.filefield# gives me the temp name of the newly uploaded file. > > #cffile. serverFile# gives me the name after I've run <CFFILE > action="upload" ... > > Is it possible to get the clientFile name or serverFile name of the .tmp > file without calling <CFFILE action="upload" ... ? > > Thanks, > .jonah > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335451 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

