A couple of things...
* Are you sure that the access denied is not the HTTP call on the
webserver?
Check the the CFHTTP call is working from the page before trying to write
to the file...
* Are you sure that CFFIle can do a write to that directory?
Again check from a dummy page...
If this is working (I assumed you checked it) then the problem will be file
permissions somewhere along the line, but it looks like those are fixed.
So the server side issue looks sorted.
For this reason, I would expect that the problem would lie in the webserver
HTTP call. Check that the file can be written and that you can access the
webserver internally (ie that it allows calls from the webserver itself
because it doesn't have to). Check the firewall settings and the HTTP
settings.
Apart from that, there isn't enough info in your post to go further (ie
webserver, cf version etc).
HTH
Paul
-----Original Message-----
From: Andy Ewings [SMTP:[EMAIL PROTECTED]]
Sent: 30 April 2001 12:18
To: CF-Talk
Subject: problem writing to a file
I made a post some time ago along these lines but the problem stiull
remains
so I though I might try again:
I have a site sat on 2 web servers with load balancing. I have a page that
when called uses HTTP and CFFile to wirte info to a file on a shared drive
on the server using a mapped drive.
The problem is when I call this page and look at the subsequent file that
is
created all that is in it is "Access Denied". both CFServers are running
as
a user account which has full access permission to the folder containing
the
file. The file is also owned by this user.
Has anyone come accross this before?
------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
------------------------------------------------------------------
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
------------------------------------------------------------------
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
------------------------------------------------------------------
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute,
or
retain this message. Please notify us on +44 (0)207 387 8890.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists