Hi. One of the strangest things I've seen yet. This happens on one CF server running 7,0,1,116466 (a client's) but not mine, running the same code and the same version.
Simple custom tag. Here is the cffile. <cffile action="upload" filefield="#filefield#" destination="#Attributes.directory##attributes.id#" nameconflict="overwrite" accept="#accept#"> When uploading a jpg, named test1.jpg (the name on my computer) to a file named test2.jpg, CF creates a directory named test2.jpg and uploads. If I place the following code right after the cffile. <CFOUTPUT>#Attributes.directory##attributes.id#</CFOUTPUT><cfexit> It correctly shows this: C:websites\atip\ezcart\products_tn\test2.jpg Yet the file it places on the server is this: C:websites\atip\ezcart\products_tn\test2.jpg\test1.jpg test2.jpg being a directory created during the process. #file.serverfile# also shows the name as test1.jpg so it's not happening sometime after the initial upload. I've also tried upload a file named as it will be on the server, but then I just get test2.jpg/test2.jpg. I don't get it. Anyone seen this? -- Bud Schneehagen - Tropical Web Creations, Inc. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Web Based Solutions / eCommerce Development & Hosting http://www.twcreations.com/ - http://www.cf-ezcart.com/ Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229020 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

