#cffile.clientFileExt# -----Original Message----- From: Jeremy [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 November 2003 4:20 PM To: CFAussie Mailing List Subject: [cfaussie] Re: CFFILE renaming session
Oh so close, it names it has a .tmp file regardless what it is. which it shouldn't. If you load it .doc then it saves it as 1234.doc or 1234.rtf etc etc. J. > Jeremy, > > How about this? > > <cffile action="upload" > filefield="resume" > destination="c:\temp\#session.CFID#.#ListLast(form.resume , ".")#" > nameconflict="makeunique"> > > > Is that what you are after? > > Ricardo > > > "Jeremy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > Hi guys, > > > > I'm having a mental moment. I am uploading a file to the server. using the > > following code. > > > > <cffile action="upload" filefield="resume" destination="c:\temp" > nameconflict="makeunique" file="#session.CFID#" > > > > > I want to rename the file with the session id but it doesn't seem to be > > working correctly here. I feel like I'm missing something....any advise? > > > > Jeremy > > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
