0

Can you help me on opening local drive(which is a shared drive) C:,D: etc from a JSP installed in the tomcat in other machine or any other suggestion to achieve the same

I tried the following different things and none of it was worked.I tried putting the window.open in the href also but that doesn't work as well.

 window.open('file://'+hostname+'/C:','Results','width=500,height=500');  

window.open("file://mymechine name/C$"); window.open('file:///C:/RIT_Results')

Java7760
  • 57
  • 6

1 Answers1

0

Most browsers no longer supports opening of local folders/files from remote domains for security reasons.

Here are some answers about this issue as well.

You will have to create additional interfaces to allow the clients to interact with the folders if you choose to proceed from here on.

Community
  • 1
  • 1
Samuel Kok
  • 585
  • 8
  • 16