On 1/10/06, Bud <[EMAIL PROTECTED]> wrote: > 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?
While it looks like you're experiencing the issue in this TechNote, http://www.macromedia.com/go/f97044e, you should make sure that you have the cumulative updater to Merrimack installed, found here: http://www.macromedia.com/go/aae43964. I think that should resolve things. One thing that has changed in MX 7 is that you can't just use the serial number to determine what patch level you're at. You need to check the "Update Level" line as well on the System Information page. Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229029 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

