I have a scheduled agent which temporary detaches a file on the domino server. The Operating system is OS400.
I have struggled for days to get the path of the folder right where the file (a id) must be detached. I try to detach it through the lotusscript code:
Forall o In rtitem.EmbeddedObjects
If ( o.Type = EMBED_ATTACHMENT ) Then
Call o.ExtractFile( Path + "\" + o.Source)
Path is something like "C:/RunIDS/". When the code gets to the line (Call o.ExtractFile( Path + "\" + o.Source)
) I get the error "Notes error: File cannot be created".
I know it has to do with the path of the folder. I am used to do this on a Windows environment, but on a OS400 system U guess it must be totally different.
Has anyone done tis before with success?