Are you using it on a cmfxdeveloper.co.uk hosted site? I should point out
that I am using the free development web space they give you, but I should
still be able to use the sandbox.

The code is from a macromedia example and from what I can tell, by looking
at other sites, the code is correct.

Can you give me a simple code example, that you know to work using cffile
and I will substitute my own directories and paths, into the code. It would
be much appreciated. Or if you could tell me what you think is wrong with
the code at the bottom of the message that would also be much appreciated.

Kind Regards

Simon Alexander
Web Developer
www.cybermedicalcollege.com
[EMAIL PROTECTED]
t:0141-227-3244

-----Original Message-----
From: Ellwood [mailto:[EMAIL PROTECTED]
Sent: 08 October 2003 11:20
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] cffile - Template Denied Access

I am using sandbox perfectly well. You should review your code...

-----Original Message-----
From: Simon Alexander [mailto:[EMAIL PROTECTED]
Sent: 08 October 2003 11:08
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] cffile - Template Denied Access

Well the site is being hosted by cfmxdeveloper.co.uk, and I purchased a
sandbox yesterday, the support guy said that I should be able to now use
disabled tags such as cffile.
Do you think that I would need to speak to the support at
cfmxdeveloper.co.uk again to find out?

Simon Alexander
Web Developer
www.cybermedicalcollege.com
[EMAIL PROTECTED]
t:0141-227-3244

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 08 October 2003 10:54
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] cffile - Template Denied Access


is this tag enabled in the CF Administrator?


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------



                    "Simon Alexander"
                    <[EMAIL PROTECTED]        To:
<[EMAIL PROTECTED]>
                    llege.com>                             cc:
                                                           Subject:
[
cf-dev ] cffile - Template Denied Access
                    08/10/2003 10:46
                    Please respond to dev





Hi I am just getting into Coldfusion and have just purchased a sandbox,
so
that I should be able to use things like cffile.

However when using the command I am getting an error message which says
that
the Template is denied access to cffile. I have tried different actions
in
the cffile tag and still get the same message.

Here is the code I am using.

<!---1. We want to work with the employees.xml file, --->
<cfset varFile = expandPath("employees.xml")>
<!--- which is in the same folder as this CF template --->
<!--- 2.Read Xml file into a string called MyXmlCode --->
<cffile action="read" file="#varFile#" variable="MyXmlCode">
<!--- 3. Parse the XML into an XML "object" --->
<!--- (very similar to a CFML Structure) --->
<cfset MyXml = XmlParse(MyXmlCode)>

I know that this should be very simple but am I missing something out?
Any
help is appreciated.

Kind Regards

Simon Alexander
Web Developer





--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to