Very slow upload by LotusScript agent

Hi,

I have to export, and then import back a lot of attachments from a database.

The export is good, and does not have problems vs the size and amount of files to export.

But the import is very, very, very slow (about 3 days for all, up to 10mn for a file of 500kb)

I use the standard function EmbedObject(EMBED_ATTACHMENT …, i have searched the forums for an explanation, but did not find anything

If someone can help …

Thanks