I would create the page in a variable as if it were an html page on its
own and then use cffile to store the variable in a file.  Place a link
to it on the page that the user sees and inform them to
right-click->save target as->... or whatever works in their case.

- Matt Small

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 12, 2002 10:52 AM
To: CF-Talk
Subject: Creating a file from a web page

I want to take a query output, format it as HTML page and save it as a
downloadable HTML document.  I don't need to display the page in the
browser window.

1) Would CFSilent hide the HTML from view?

2) How would I create the HTML file, in other words:
c:\inetput\mysite\docs\filedate_filetime.htm  (I know how to do the
filedate_filetime).  Would I Use CFFile, or is there a better mechanism?

Thanks,

Mark Leder
[EMAIL PROTECTED] 
             

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to