Harry Bellafonte 22.Nov.10 04:09 PM a Web browser Applications Development7.0.1iSeries
Hi
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)
End If
End Forall
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.