You should probably create a specific ColdFusion service account and assign
to s group on the domain and start ColdFusion up with that (no doubt starts
as Local System now as most people never change that). That way you can
control the access that service across the network.

 



"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: James Buckingham
To: CF-Talk
Sent: Fri May 25 21:45:17 2007
Subject: CFFILE copy to another server - (Access is denied).

Hi guys,

I'm trying to find a way that I can copy a file from one server to another
(there Windows 2003 servers) using either CFFILE or a CFEXECUTE command to
run what I need through Xcopy or Robocopy.

At the moment I'm getting a error message telling me "The cause of this
exception was: java.io.FileNotFoundException:
\\xx.xx.xx.xx\CFTEST-Upload\TEST.txt (Access is denied). " if I try this.

Looking around online I found this article which could explain how to solve
this...
http://forums.devshed.com/coldfusion-development-84/writing-a-file-to-anothe
r-server-364543.html

......what I'm wondering though is if there is any security risks in giving
ColdFusion these kinds of permissions to start writing to another server?

Cheers,
James



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279325
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to