You might want to try something like this instead: <!---Code in the upload form--->
<form enctype="multipart/form-data" action="upload_action.cfm" method="post"> File to upload: <input type="file" name="uploadfile" size="40"> <input type="submit" name="Upload" value="Upload"> </form> <!--- code in the action form---> <cffile action="upload" filefield="UploadFile" destination="d:\temp\" nameconflict="unique"> File uploaded successfully: Filename on client: <cfoutput>#cffile.clientfile#</cfoutput><br> Filename on server: <cfoutput>#cffile.serverfile#</cfoutput><br> File Size: <cfoutput>#cffile.filesize#</cfoutput><br> <!--- move file to another folder ---> <cffile action="move" source="D:\temp\#cffile.serverfile#" destination="d:\junk\#cffile.serverfile#"> <br> File successfully moved to D:\Junk\<cfoutput>#cffile.serverfile#</cfoutput> Peter Bagnato -----Original Message----- From: Jaye Morris - jayeZERO.com [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 9:48 AM To: CF-Talk Subject: cfmx and FORM file oddity I am using something relative to the following code: <form action="blahblahblah.cfm" method="post" enctype="multipart/form-data"> <input type="File" name="uploadedFileName"><br> <input type="Submit" value="Upload Now"> </form> During the process, I am attempting to catch the variable "uploadedFileName," but instead of getting a file name like myfilename.zip or whatever, I get something like: R:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp\neotmp1 6991.tmp Being that neotmp16991.tmp is not the file name and is really something like myfilename.zip, how do I get that actual file name as opposed to what is seen above. -//- Jaye Morris - Multimedia Developer -//- [EMAIL PROTECTED] - www.navtrak.net -//- [EMAIL PROTECTED] - www.jayezero.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

