How to get file path in browser (using protocol or other method to get full path)

836 Views Asked by At

Using a desktop mac computer, is it possible to enable someone to drag and drop a file into a web page and return the full path of the file?

enter image description here

Having something similar to the S3 dialogue box and then enabling a user to drag a file in there and the full path show up. Would this be possible to do within the browser alone? What about with a protocol that the user has installed on his computer? For example, something like: https://support.shotgunsoftware.com/entries/127152-Launching-External-Applications-using-Custom-Protocols-under-OSX. If so, how would that be done?

1

There are 1 best solutions below

0
On BEST ANSWER

It would not be possible to do it through the browser alone.

How to get full path of selected file on change of <input type=‘file’> using javascript, jquery-ajax?

As for some other workaround, I am not sure.