Copy link to clipboard
Copied
<cfset spath = "\\ght4\clients\abc\new\256\">
<cfset dpath ="\\ffg\clients\def\new\kij">
<cffile action = "move" source = "#spath#" destination = "#dpath#">
It generating an error Is there a way to move files from server to another in coldfusion
Copy link to clipboard
Copied
First, you need permission on both servers, but let's assume you have that.
Next, you need correct code and appears that you do not. Your spath variable looks more like a directory than a file and cffile only works on files.
Copy link to clipboard
Copied
How could I find out that I do have the this permissions which u r taking about?
Copy link to clipboard
Copied
You talk to your network administrator(s) and ask them what permissions have been assigned to the user that the ColdFusion service|demeon is running as.
P.S. By default, on a windows machine, ColdFusion runs as a "localSystem" user, which usually has *no* permissions to other systems.