How to create a v2 attachment?

I am creating a new database, which allows usersto upload files via the web file upload control

(creating a v2 style attachment, ie one that is

NOT stored in a RT field).

I need to import documents from existing databases which have attachments stored in RTF’s. Using

LS, I cannot work out how to create the attachments. I want them to be consistent with new documents created and therefore want to add them as a v2-style attachment, NOT in a rich text field.

Any ideas?

Gail

ps I have found lots of info on going the other

way - from v2 TO included in RTF. Is there a reason for doing this other than wanting compatibility with and existing DB? (ie should I be doing this??)

Subject: How to create a v2 attachment?

I don’t think you can do this. The V2-style comes from former notes versions as far as I know. You have no way to create it with lotusscript. I attach the files that are uploaded in a web browser to the richtext fields to have the attachments stored the same way in all documents(webquerysave agent).