James,

You have got a Windows sharing problem there with you permissions. That 
is not a problem with ColdFusion. There is a setting for <cffile> called 
mode which can be set to 777 for Linux systems but this does not apply 
for you. Check your shared drive in both machines.

Ravi.

James Buckingham wrote:
> 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-another-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
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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

Reply via email to