I have a JAVA script library used in a JAVA agent run on WebQuerySave. My web form has a file upload control. I’ve been trying to extract the uploaded file to C:\Temp or D:\Temp on the server when the form is saved to no avail. My Domino installation is on the D: drive.
When I try to extract to C:\Temp or D:\Temp, the server console shows a Notes error: File could not be created C:\Temp\file.csv. After about a day and a half of struggling with it, I tried extracting to the Data directory of my Domino installation, which extracted fine. Not sure if it’s also because I set the agent to allow restricted operations with full admin rights. I’m wondering why I’m not able to extract to C:\Temp or D:\Temp.
Your help is appreciated.
Thanks.