Skip to Content
0
Former Member
Jan 22, 2009 at 06:46 AM

Open a local file in webdynpro

235 Views

Hi All,

I am trying to open a file residing on user's desktop in webdynpro.

1. I have written a html page with javascript to open the file

window.location = 'file:///C:/Documents and Settings/mkharoda/Desktop/Questions.txt';

This file opens up if I open it up in IE browser and opens the file specified in the path.

2. I added this html page in my mimes folder

3. Assigned this html page as a source to IFrame (Although its deprecated but I don't see any other option)

When I execute my WD Applicaiton, it shows a blank page in IFrame. The same html page works fine when opened directly in the IE.

Expecting quick help sdn.

Also, if you have an alternate solution to open a local file then please suggest me.

Regards,

Murtuza