Problem solve Get help with specific problems with your technologies, process and projects.

Can you use LotusScript to read a text file attached to a Notes doc?

A user wants to know if it's possible for LotusScript to read an attachment in a Notes document without first detaching it. Find out our expert's response here.

Can a LotusScript agent read a text file that is attached to a Lotus Notes document -- without first removing the attachment?
I'm not aware of any way to read an attached file from LotusScript. However, I would not hesitate to detach it to the file system, read it and then delete it. You can use the system temporary directory, or just put it in your Lotus Notes data directory.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

  • Tip Trap an attachment path via the Domino file upload control field
  • Reference Center: Easily implement attachment fields in a Web form
  • Dig Deeper on LotusScript

    SearchWindowsServer
    Search400
    • Favorite iSeries cheat sheets

      Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

    SearchDataCenter
    SearchContentManagement
    Close