Re: cfcontent in MX

2003-12-02 Thread SMR
Thanks I didn't have the getfilefrompath statement in my cfheader. - Original Message - From: Mike Townend To: CF-Community Sent: Monday, December 01, 2003 12:13 PM Subject: RE: cfcontent in MX add a CFHeader to the file... CFHEADER NAME=Content-Disposition VALUE=inline; filename

RE: cfcontent in MX

2003-12-01 Thread Mike Townend
add a CFHeader to the file... CFHEADER NAME=Content-Disposition VALUE=inline; filename=#FileNameHere# where #FileNameHere# is a variable contiaining the filename, so in your case something like CFHEADER NAME=Content-Disposition VALUE=inline;

RE: cfcontent in MX

2003-12-01 Thread Mark Smyth
we had a problem with cfcontent which was resolved by the latest service pack which SP are you on? -Original Message- From: SMR [mailto:[EMAIL PROTECTED] Sent: 01 December 2003 16:56 To: CF-Community Subject: cfcontent in MX okay guys, can't figure this one out and have searched

RE: cfcontent in MX

2003-12-01 Thread Heald, Tim
In CF 5 (and previous) you still needed to use cfheader to tell it what the file name was.Something like this should get you there: cfheader name=content-disposition value=attachment;filename=#getDir.doc_file_name# cfcontent

RE: cfcontent in MX

2003-12-01 Thread Heald, Tim
Something else neat I just learned while looking at this.If you want the file size to be correct in the download box do this: !--- Try this: --- CFDIRECTORY ACTION=""> DIRECTORY=#expandpath(.)# NAME=getfile FILTER=movie.mpeg CFHEADER name=Content-Length value=#getfile.size# Timothy Heald