Copy link to clipboard
Copied
I am probably overlooking something simple, but I have been staring at this for so long I can't see it. Maybe some fresh eyes may spot the problem.
I have a simple cffile:
<cffile action="UPLOAD"
destination="\\wincfdev01\wwwroot\memo\pdfs"
nameconflict="OVERWRITE"
filefield="file1">
I run the page and it runs without error. But when I look in the folder that the file is supposed to be dropped in, it is not there. Is there something that I am missing?
Using coldfusion 9.
It is possible to upload file
to a different server using unc name in destination.Please check whether the permissions are set for the folder to which you are trying to copy the file.
Copy link to clipboard
Copied
The only obvious thing in your code snippet is that you're pointing to a UNC share path rather than a local path. Does CF have rights to that share? By default, CF doesn't have rights to remote shares.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Copy link to clipboard
Copied
It is possible to upload file
to a different server using unc name in destination.Please check whether the permissions are set for the folder to which you are trying to copy the file.