Full path in file attachment names

I have the following issue: when I attach file do a document using Java and DIIOP the original file name (source) is stored with the path (for example c:/temp/test.txt instead of text.txt).

This becomes a problem when I open the document in a browser and click on an icon of an attachment - the file does not open and the error is displayed.

Has anybody seen this?

Subject: Full path in file attachment names

Not sure if this is the issue but to be able to access a file at the OS level the agent must be run with UnRestricted rights which are defined in the Server Document. So if the user is clicking a button that executes the code to open the attached document. The problem is that at that time the user is probably running with anonymous rights and would not be allowed to access the Operating System files. If they are authenticated with the server then they would have to be listed in the Run Un-Restricted Agents in the server document.I’m not sure how you would get around this, but I would guess that there could be a way of doing it. For obvious reasons you don’t want anonymous users having O/S access to your server.