Forum  Commercial Foru...  Commercial Foru...  Link Open network file
Previous Previous
 
Next Next
New Post 2/1/2012 12:23 PM
  palli
11824 posts
1st Level Poster




Re: Link Open network file 

Hi again Scott,

According to the information I have gathered, there are two a little different notations you would use, depending on whether your a opening a file on a local drive on the client or through a UNC share:

  • file:///C:/SomeFolder/SomeFile.txt
  • file://SomeDNS/SomeShare/SomeFile.txt

Note the double and triple "/", depending on what kind of file location you are accessing.

Using JavaScript window.open() however, has all kinds of complications regarding security, as I mentioned in my last reply. I didn't explore the problem and possibilities in details, as this is more of a JavaScript / Browser problem, than it is Visual WebGui, but what I did catch was that it has do do with the fact that your are trying to switch to another protocol, from within an active browser window (switching from http:// to file://), and the browser security is blocking that change. Some information can be found here.

I consulted with our leading developer and we agree on that, unless you are able to find a cross browser solution to this (apparent) browser security issue, then the best practice would be to have the user upload the file to the server and then serve it back to the browser via a Visual WebGui gateway.

I'm sorry that we are not able to solve your case the way you would like to solve it, but hope this can help you some.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Link Open network file
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS