- see footer for list info -<
Ah. I guess I should have mentioned that I don't want to save the file on the server. I want the user to click a link that says 'download report' which will then open a word document on their machine and they can choose to save or open.

The most important thing is to not save it on the server ...

Regards - Paul

From: Gary <[EMAIL PROTECTED]>
Reply-To: Coldfusion Development <[email protected]>
To: "Coldfusion Development" <[email protected]>
Subject: Re: [CF-Dev] Quick Question CFCONTENT
Date: Mon, 2 Oct 2006 14:32:30 +0100

- see footer for list info -<
You can't write a Word doc to disk just by saving it as a text file and
changing the mime type as far as I'm aware. I've seen a technique using a
COM object that requires the server to have Word installed, but again it
will only save locally although you can simply deliver the file to the
client using cfcontent.


On 10/2/06, Paul Swingewood <[EMAIL PROTECTED]> wrote:

>- see footer for list info -<
Hi.

I want to create a word document on the fly to show a report.
I have done something similar in the past using

<cfsavecontent>
    #BIG REPORT#
</cfsavecontent>
<cffile action="WRITE" file="d:\blahblahblah\#SchoolID#_06.xls"
output="#excelData#" nameconflict="overwrite">

This however saves the file locally. THere could be tens of thousands of
reports for this new system so I want to create them on the fly and NOT
save
them locally.

Can I just use <CFCONTENT>#BIG REPORT#</CFCONTENT> (and whats the correct
mime for MS word these days using 6.1?

Regards - Paul


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to