danarashad
Programmer
I dont know if this is possible, but I would like some help.
I am trying to copy files from my server to another companies server, via coldfusion.
I have no problem copying files locally, but when I try to copy via network, no dice.
<cffile action="copy" source="D:\folder1\file.pdf" destination="W:\folder1\">
I kept getting this error.
The cause of this exception was: java.io.FileNotFoundException: D:\folder1\W:\ (The filename, directory name, or volume label syntax is incorrect).
But if i change that W: to D: the local server, it copies. Is it possible to copy from server to server. this server is not on my domain. but i can access the server. i've tried using the unc name, that doesnt work either. is this possible or what. thanks for the help!
I am trying to copy files from my server to another companies server, via coldfusion.
I have no problem copying files locally, but when I try to copy via network, no dice.
<cffile action="copy" source="D:\folder1\file.pdf" destination="W:\folder1\">
I kept getting this error.
The cause of this exception was: java.io.FileNotFoundException: D:\folder1\W:\ (The filename, directory name, or volume label syntax is incorrect).
But if i change that W: to D: the local server, it copies. Is it possible to copy from server to server. this server is not on my domain. but i can access the server. i've tried using the unc name, that doesnt work either. is this possible or what. thanks for the help!