Hi:
I try to Open Unix Files with Lotusscript and my Agent can’t do it.
This is the statment:
Open “/opt/DIRECTORY/File1” For Input as FileNum
The return error is “Unable to Open FIle”
Thanks for your time
Hi:
I try to Open Unix Files with Lotusscript and my Agent can’t do it.
This is the statment:
Open “/opt/DIRECTORY/File1” For Input as FileNum
The return error is “Unable to Open FIle”
Thanks for your time
Subject: Open Unix Files with Lotusscript
I’d guess (and really thats all i can do with the info presented) that you have a permissions issue … Remember domino ususally runs under a specific user and group (ie notes or domino, but it depends on what was specified during installation) … if the file is not owned by that user (ie notes or domino), and the permissions for everyone aren’t set to read, it won’t be able to access the file … list the file at the console (actual command depends on your UNIX flavor, but something like ‘l’ or ‘ls --format=long’) and if the permissions read anything like this
rw-rw—
then you wont be able to access the file. To verify, type chmod 666 /opt/DIRECTORY/File1 then run your script to see if it can access it … if it can, you’ll need to have the file chmod’d before you read it …
jeremy