But what does it mean to "mount" a filesystem to a webpage?
Does the webpage have access to those files? Yes.
But then what's the difference of running a HTTP server?
Hmm....Commands over websocket, programmatic access via script, authentication inline.
I like the idea...it seems interesting.
What do you think? Would this be useful or interesting to you?
Some possibly related prior art:
- https://www.npmjs.com/package/websocket-stream
- http://lukas.pokorny.eu/sftp-over-websockets/
Background:
I just used SCP for the first time to copy a file between two SSH sessions happening in browser windows, and I made the above note to myself. I didn't know more about it so I thought I'd ask here and see if anyone has any useful thoughts.