hey steve,

What a dork. Got it working needed to have the extention on it. derr. Is
there a way to make the extention dynamic to what is being uploaded?

<cffile action="upload" filefield="resume" 
destination="c:\temp\#session.CFID#.#dynamic bit#" nameconflict="makeunique">

> Hi Steve,
> 
> Thanks man, didn't work. got the follwing error.
> String index out of range: -2 
> 
> I think I might have to try to find a why of getting the document that I'm
> uploading it then renaming it. After its been uploaded but I'm concern
> this might stuff up somewhere along the way.
> 
> J.
> 
> > Jeremy
> > 
> > add it into the destination
> > 
> > <cffile action="upload" filefield="resume"
> > destination="c:\temp\#session.CFID#.ext" nameconflict="makeunique" >
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Jeremy
> > Sent: Thursday, November 06, 2003 1:20 PM
> > To: CFAussie Mailing List
> > Subject: [cfaussie] CFFILE renaming session
> > 
> > 
> > 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

Reply via email to