Thanks Phil, Thats exactly what i thought it was too. The backslash which has to go into the absolute path to the file, is causing CF to think it's doing some artichmetic.
But I tried what you suggest and it gives the same outcome. Still thinks its doing arithmetic. That's what's thrown me. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Mon, Jun 1, 2009 at 2:54 PM, Phil Haeusler <[email protected]> wrote: > ...of course without the # at the end > <cfset temporaryfile = gettemporarydirabs() & "\" & theImage.getName() /> > > > -----Original Message----- > From: "Phil Haeusler" <[email protected]> > To: [email protected] > Date: Mon, 01 Jun 2009 14:47:58 +1000 > Subject: [cfaussie] Re: String concatenation - what's happening here? > > Mike, > It looks like you're got CF trying to do an integer division with two > strings. Try > > <cfset temporaryfile = gettemporarydirabs() & "\" & theImage.getName()# /> > instead. That should work for you. > > Phil > > --- -- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
