Jump to content

open a file located on client pc


erich.wanker

Recommended Posts

Hy,

for a special solution - i want to open files located on the client PC (every client has a network drive h:\ to the fileserver)

i changed in chrome some flags ..
entered "allow-file-access-from-files" to the Chrome-link ..
installed extensions like "Local Explorer - Open File Links in Chrome"

 

but nothing works :(

i call the file in my uniGui-app with

unisession.AddJS( 'window.open("'+datei+'");' );

at runtime - it looks like:  

window.open("file:///F:/erich/ordnertest/test 2/t2.txt");
OK

but nothing happend

 

Any Idea, how i can make this working???  a special configuration for browser or installing Extensions IS POSSIBLE! 

 

PS. the solution MUST handle with the local Files .. please don´t ask why 😉 

ThanX for suggestions

Erich

Link to comment
Share on other sites

5 minutes ago, erich.wanker said:

Hy,

for a special solution - i want to open files located on the client PC (every client has a network drive h:\ to the fileserver)

i changed in chrome some flags ..
entered "allow-file-access-from-files" to the Chrome-link ..
installed extensions like "Local Explorer - Open File Links in Chrome"

 

but nothing works :(

i call the file in my uniGui-app with

unisession.AddJS( 'window.open("'+datei+'");' );

at runtime - it looks like:  

window.open("file:///F:/erich/ordnertest/test 2/t2.txt");
OK

but nothing happend

 

Any Idea, how i can make this working???  a special configuration for browser or installing Extensions IS POSSIBLE! 

 

PS. the solution MUST handle with the local Files .. please don´t ask why 😉 

ThanX for suggestions

Erich

Hello, did You try to get file like is an example "file:///c:/temp/yourfile.txt" ?

Link to comment
Share on other sites

Hi Erich,

Do you want to acces the files without the interaction of the user?
I don’t think this is possible because it would be a real security issue.  It is against the concept of any browser. You have to use an agent on the user machine.

Regards 

Leon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...