chrome-extension_open-local-file-link
chrome-extension_open-local-file-link copied to clipboard
network link file
Hello,
It seems that Chrome doesn't open files located on private networks but a copy of the file. Is it possible to open the original file ?
Best regards, SLNL
Sorry for my late reply.
It seems that Chrome doesn't open files located on private networks but a copy of the file.
Yes, what you can not view directly with chrome will be downloaded once and it will be opened.
Things that can be viewed directly with chrome: .txt
, images, etc.
Things that can not be viewed directly with chrome: .zip
, .xlsx
, .docx
, etc.
Is it possible to open the original file ?
Yes, it is possible using Native Messaging but not easy.
- [Extension owner] It is necessary to create an application that relays the file path to the application for each environment (OS).
- [Extension users] Each user needs to set extension and application linkage.
- example for windows.
-
.txt
->notepad.exe
(or other editor) -
.jpg
->mspaint.exe
(or viewer) -
.xlsx
->excel.exe
(or other Office app)
-
- example for windows.
A bridge to the OS that allows opening the original file would be really cool. As @tksugimoto mentioned, that could be tricky to implement.
I guess that Local Explorer does something similar to achieve such functionality: https://chrome.google.com/webstore/detail/local-explorer-file-manag/eokekhgpaakbkfkmjjcbffibkencdfkl?hl=en