Copy attachment from $file field to another rich text field

I am developing a Web application. The Domino server is installed on a Unix operating system. I need a way to copy the attachment from the $file field to another rich text field. However, I need a method other than extracting the attachments to the file system and embedding them again. Can you suggest one?
Aside from writing to the file system, the only way I can think of would be to copy all of the rich text items containing the attachment from one document to another. That would copy the attachment too. But to me it sounds like you should look into using the file system as a temporary placement for the files you need to move.

Do you have comments on this Ask the Expert question and response? Let us know.

This was first published in June 2005