Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Parse file from a network path..

Hi Experts,

I have a java program using which I am trying to parse an XML file which is located on a network path.

Using either the full network path like


or create a mapped directory like U: mapped to

dir1 and use the path as


the program returns error

How do I read this file from network

mPath = "\\\\<servername>\\dir1\\filename.ext"
Document doc = db.parse(mPath);

I am running my SAPJ2EE on 7.0 EHP1 SPS03.

Thanks in Advance !!

Former Member
Not what you were looking for? View more on this topic or Ask a question