Phil,
You need an absolute file path (as in C:\blah\blah.txt) to use CF File. What
you may be looking for is CFHTTP. Try
cfhttp url=http://www.applewoodcommunity.com/index.cfm/
cfset content = cfhttp.filecontent
-Mark
Mark A. Kruger, CFG, MSCE
www.cfwebtools.com
www.necfug.com
cffile ACTION=READ FILE=http://www.applewoodcommunity.com/index.cfm;
VARIABLE=content
You want to look at the getPathFrom family of functions, to get the system
file path from your url that the cffile tag needs.
This should get you close.
cffile action=read
Thanks Mark but I can't use it. The problem is that I need the file
uncompiled. Using cfhttp compiles it first.
Thanks anyway
Phil
-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 11:13 AM
To: CF-Talk
Subject: RE: cffile error confusion
3 matches
Mail list logo