cancel
Showing results for 
Search instead for 
Did you mean: 

How to get files from network drive?

Former Member
0 Kudos

I'm trying to get graphic files from other network.

I thought I can use virtual hosts by mapping network drive to an alias.

But, I got nothing.

Is there any solution? I'm trying to make a web dynpro application

connected to Enterprise Portal.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Have you tried to create URL object and get inputStream on it?

like:

URL u = new java.net.URL(file://d://mapedDir//one.gif");

URLConnection c = u.openConnection();

c.getInputStream();

Former Member
0 Kudos

Create file repository in the KM (like etc) which map folder in the file system to folder in the KM (so the same content will be in both folders). You can easily access a folder in the KM using the KM api

here are a few links that will help you

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/content.htm">Create file repository</a>

<a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/km/index.html">KM api</a>

Former Member
0 Kudos

Thanks,

My first Points

Omer