I tried using cffile to copy a file but it doesn't work
It works when I changed the action into rename and move but when I changed back to action="copy", nothing happened. I did not get error either. It's just the file did not get copied.
The very strange thing about this is, when I use cffile action="copy" on my dev server, it works.
The problem is not on permission issues since I have the same exact permission on both servers.
Is there issues with ColdFusion 8 cffile action="copy"????? but why it works on my dev server but not on my prod. server?
I've googled since this morning and I found a few people who had the same complaint but no respond on how to solve them.
Does anyone from this community have ever had similar problem and has solution?
I'm using ColdFusion 8
My web server is in Unix
my back end is Oracle 11g
My code is pretty simp
<cffile action = "copy" destination = "C:\scratch\DEVProd1\"
source ="C:\scratch\FinProd1\" />
It's kind of a reach, but since you're running under Unix, have you tried using the mode attribute?
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags _f_04.html
^_^
This seems strange:
I'm using ColdFusion 8
My web server is in Unix
my back end is Oracle 11g
[...]
<cffile action = "copy" destination = "C:\scratch\DEVProd1\"
That's very much a WINDOWS path you have there. When you say your webserver is on *nix, do you mean your CF server is also on *nix? Or is it on a Windows box?
--
Adam
North America
Europe, Middle East and Africa
Asia Pacific