I am writing a java agent that needs to write a file to a share drive using UNC format (\\servername\directory\subdir\etc).
I am getting "access denied" returned by the agent. The same code will write to the D drive of the same machine using either the D:\ or the UNC format.
I believe that this is a security limitation of Notes and that this can't be done, but hope I am wrong. Does anyone know of a way around this???
Security policy prohibits using FTP, and mapping a drive letter.
I have tried Apache commons FileUtils
with no success, as well as just trying to create a File
object.
(Note: not tagging java because I need notes specific answers, and tagging XPages even though it is not because the smart people hang out there)
This depends on global or local policies for the windows account which runs the domino server. Normally this is local system. Local System does not have access to mapped drives. Either change the service account which runs domino or give the privileges to the local system account.