Since I don't usually have physical access to the Pi, and since I don't always operate in linux machines (so I have no ssh
by default), then I'm wondering if there exists a basic http tool to just 1)browse, 2)upload and 3)execute files.
The ideal server should be executed with something like:
server-http --user pi --pass three.1415 --p 8080 --folder ~/media --execute xdg-open
This should tell to the server:
- to listen to the port 8080 with Basic access authentication
- to serve the folder
~/media
, to serve its file, and let the user upload a file - to let the user execute the files. This means that when a file is clicked then the server executes
xdg-open filename
.
I'm guessing such a tool does not exist yet. However, I know multiple languages and I'm ready to develop the missing components if I find a tool which is close to these specs.
The ideal server should be minimal and in C to be as light as possible.
Thanks!