Hello Guys...and girls!
Here is my question:
I used this code on my previous hosting service to get the content of a HTM
file and put it in another file
<cfhttp url="http://www.mywebsite.com/downPanier/header.htm" method="GET"
resolveurl="false"></cfhttp>
<cffile action="WRITE" file="#OUTFILE#" output="#CFHTTP.FileContent#"
addnewline="No">
My new hosting service have Sandbox Security and i can't use CHTPP like i
used to:
Notice the path attribute that prevent CF to create the CFHTTP.FileContent
Variable
<cfhttp url="http://www.mywebsite.com/downPanier/header.htm" method="GET"
resolveurl="false"
path="d:\html\users\cfxa839\domain\html\downPanier\"></cfhttp>
DOES NOT WORK: <cffile action="WRITE" file="#OUTFILE#"
output="#CFHTTP.FileContent#" addnewline="No">
My question: how to get the content? (Include, other var???)
must be easy!! Grrrrrrr...
Thanks for your help
R�mi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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