I have read several threads about this, followed the suggestions, and have not been able to solve this problem.
An exception occurred when using <cffile ... > to perform a file copy operation for a PowerPoint file from a file server (eagle) to the server that the ColdFusion Application is located on.
I am trying to copy a PowerPoint presentation from a file server to another server (where the ColdFusion application is located (D:\WWWRoot\xfp\tutorial\x
fp\attachm
ents)
Code:
<cffile action="copy"
source="\\eagle\app$\xfp\t
utorial\Do
cument\PDO
_template.
ppt"
destination="D:\WWWRoot\xf
p\tutorial
\xfp\attac
hments\259
.tmp"
>
<cffile action="RENAME"
source="D:\WWWRoot\xfp\tut
orial\xfp\
attachment
s\259.tmp"
destination="D:\WWWRoot\xf
p\tutorial
\xfp\attac
hments\259
_PDO_templ
ate.ppt"
>
I receive the following error at line <cffile action="copy"
An exception occurred when performing a file operation
copy on files
\\eagle\app$\xfp\tutorial\
Document\P
DO_templat
e.ppt and D:\WWWRoot\xfp\tutorial\xf
p\attachme
nts\259.tm
p
The cause of this exception was: java.io.FileNotFoundExcept
ion:
\\eagle\app$\xfp\tutorial\
Document\P
DO_templat
e.ppt (Access is denied).
I have checked file and directory permissions and they seem to be fine. I can open the PowerPoint presentation (size is 439KB) without any problem on \\eagle\app$\xfp\tutorial
\Document\
PDO_templa
te.ppt by double clicking the PowerPoint file name.
Both servers are Windows 2003, ColdFusion is version MX7, PowerPoint is version 2003.
The directory names are spelled correctly; NT directory permissions are Read & Execute, List Folder Content, and Read. The actual PowerPoint document also includes the Write permission
I would appreciate anyones help.
Start Free Trial