in above code, existing pdf variable is hardcoded as “\\server01\abc\pdffolder\xyz.pdf”
the above code is working fine in coldfusion. The path is accessible where lucee is installed but when I am running the code then it is not working and throwing below error.
file or directory [//server01/abc/pdffolder/xyz.pdf] does not exist.
You can find the user running Lucee in the windows services gui. There, find and select the Lucee/Tomcats service and go trough the tabs.
It’s very likely it is running with “local service”. Just like Adam noted, the soure and destination paths/files need to have permissions set for that user. Basically its the same as shown here in the video guide, with the difference you need to afd the permissions to the PDF directories/files.