The hosting service that I'm using for CF requires the use of CFX_FILE and
CFX_DIRECTORY custom tags instead of CFFILE and CFDIRECTORY tags. They are
supposedly the same except the prior versions require a Username and
Password additional parameters.
I have set up a new domain on this hosting service and I had them set up to
allow me use to these two custom tags. They have "done" this and say it's
ready for use. But when I try to use the CFX_FILE it doesn't work. This
custom tag has a error status variable called CFXFError which contains the
error message. The error I keep getting is "Unknown Action: Read"
If I change the username or password parameter values the CFXFError var
correspondingly changes to Username or Password incorrect, so I know the tag
is trying to work.
Anyone have any clues what would cause this custom tag to say Unknown
Action: Read???
My code is as follows:
<cfset MemFilePath = #ExpandPath(".")# & "\#lcase(MemName)#.txt">
<cfoutput>#MemFilePath#</cfoutput><br>
<CFX_FILE
ACTION="Read"
USERNAME="xxxxx"
PASSWORD="xxxxx"
FILE=#MemFilePath#
VARIABLE="MemBio">
<cfoutput>#CFXFError#</cfoutput>
-------------------------------------------------
Bruce Holm - Web Programmer
Lattice Semiconductor Corp.
[EMAIL PROTECTED]
-------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.