I use CFHTTP to request the file and then CFFILE to write the resulting
static HTML to a file.

<cfhttp url="http://www.somedomain.com/DynamicCFMLPage.cfm"; method="GET"
resolveurl="false">
<cffile action="WRITE" file="d:\www.webserveroot.com\StaticHTMLpage.html"
output="#CFHTTP.FileContent#" addnewline="Yes">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to