Help with Scheduled agent saving a file in a lotus server

Hi everyone,

Im currently developing a program that has a scheduled agent that needs to get a .txt file from a mainframe server. Right now, I was able to obtain the text file and save it to my computer with the use of the “get” command in ftp. The complete command is “get ‘’ “””. Problem is that I don’t know how to save the .txt file inside the server. So far, i’ve tried running the scheduled agent in the server but kept on getting this error. “error message: Error creating product object”. The agent was also given access to write files in the server still i got the same error. I double checked the path of the server through the use of Lotus Administrator but still i got the same error.

Any help would be appreciated. Thank you :slight_smile:

Subject: Help with Scheduled agent saving a file in a lotus server.

If you want to run the agent on the server, and the server runs on Windows, you can take a look at this one: http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/9e752a60b6f902c7852568ef006b4ad1?OpenDocument&Highlight=0,ftp

When saving the file, consider creating a subdirectory to your data directory and saving it there. That way you know that you will have write access. Also check that the agent is allowed to perform restricted operations, and that the user signing the agent is allowed to create restricted operation agents.

/Peter

Subject: RE: Help with Scheduled agent saving a file in a lotus server.

Thanks Peter for the link it really helped. Right now im having a problem with this error message “Operation is disallowed in this session”. I still can’t save the file in the server. I used GetFile “”, “c:\Lotus\Domino\Data\ASEAN\deletethistesting.txt”, FTP_TRANSFER_TYPE_ASCII.

Again thanks for the help :slight_smile:

Subject: RE: Help with Scheduled agent saving a file in a lotus server.

As I said before, you need to check the rights of the agent and the agentsigner. The agent needs the right to run restricted operations. The agentsigner also needs rights in the server document.

/Peter

Subject: RE: Help with Scheduled agent saving a file in a lotus server.

Thanks for the help. The agent ran successfully.

But i found another problem. I’m not really sure about it but if the platform of the server is not Windows based the scheduled agent will have an error that states “Error in loading DLL”. The platform of the server where I ran the agent was AIX 2.5. I need help in knowing what file in AIX 2.5 is the same as the “wininet.dll” in Windows.

Thanks for the help :slight_smile: really appreciate it.

Subject: RE: Help with Scheduled agent saving a file in a lotus server.

Sorry, can’t help you with that one…

/Peter

Subject: Help with Scheduled agent saving a file in a lotus server.

have you reviewed these

http://www-10.lotus.com/ldd/nd6forum.nsf/Search?SearchView&Query="Error%20creating%20product%20object"&SearchOrder=0&Start=1&Count=100