chrome-extension_open-local-file-link icon indicating copy to clipboard operation
chrome-extension_open-local-file-link copied to clipboard

network link file

Open SLNL opened this issue 7 years ago • 2 comments

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

SLNL avatar Jul 20 '17 09:07 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)

tksugimoto avatar Jul 22 '17 15:07 tksugimoto

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

joe4dev avatar Jan 24 '19 08:01 joe4dev