rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: TGeRi on November 08, 2006, 10:01:50 PM

Title: Remote Control through WEB
Post by: TGeRi on November 08, 2006, 10:01:50 PM
Hi Rejetto and Others!

First to say: I just love HFS. Small, fast, clever.
Some day ago I felt asleep on the bus to home and I HAD A DREAM. :)

I have my PC at home, running HFS, serving files mainly for me when I'm not at home.
Sometimes want to "do" something with the PC. Run an app. Stopp one. Get running services, stopp, restart, etc. I have RealVNC installed but the problem is that you have to have the Client with you (ok you have java client, but it is not fully portable) and it consumes very much bandwidth.
What if HFS could do these remote control things? throug a webpage of course.

You first have to log in and then you could have a customizable page: buttons, infos (eg: running applications), input boxes (to run apps. eg: you input: c:\prg\myfavapp.exe, hit submit, and hfs will start it.)
The 2 main advantages with this kind of remote control would be: 1. VERY small bandwidth. 2. You only need a browser to control your PC. (even a simple HTML browser could do it. I'm thinking PDA's and mobile phones browsers).

So? What do you think?

Here: http://www.educ.umu.se/~cobian/obsolete.htm you can find a program-duo: cobcats. One server one client. Ther are quite good but you need the client to access the server. In case of HFS you wouldn't have to have any client. (CobCats even have screenshot and other interesting features too).

TG
Title: Re: Remote Control through WEB
Post by: rejetto on November 09, 2006, 01:29:59 AM
if you want remote control via web, and want low bandwidth form-like, then you need a web server running a php/asp application, doing so.
i know of a similar php application for linux.

there is no gain in having a webserver specialized in EVERY thing. we can do most things with a php application, it is much more flexible and the bandwidth is the same, your PDA won't notice any difference.

as you already know, HFS doesn't support PHP yet, and won't for some time, because i'm focusing on usability these months (the new VFS).
Title: Re: Remote Control through WEB
Post by: TGeRi on November 10, 2006, 09:44:30 PM
Hi!

Ok, I understand this. And you are right!

Does anyone know package for this?

Oh. And another thing: one of my "wishes" is that i can send commands to "cmd.exe" and i get the "output" on the web. Kind of telnet/ssh but through web. Do u think this is possibel with php too?

TG
Title: Re: Remote Control through WEB
Post by: rejetto on November 10, 2006, 10:43:06 PM
yes, and this is the script
<? passthru($_POST['command']) ?>

quite easy, isn't it?


Quote
Does anyone know package for this?

i don't, but just found these nice projects
http://fsguide.sourceforge.net/
http://sourceforge.net/project/screenshots.php?group_id=105637&ssid=1704