rejetto forum

remote control or a schedule (turn on / off)

Avalon · 9 · 5408

0 Members and 1 Guest are viewing this topic.

Offline Avalon

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
Hi all!

First of all, I really love HFS, it saved my life so many times, as I use it mainly for downloading my files at university when I left them home. Thanks for it!
I applied a strong password at the root, and I use it through https://, but I am still scared of my data winding up in wrong hands, so I would like to turn off HFS every time I am home, and I do not need it. The problem is, that I use HFS on my home file server, where my only access to it is through remote desktop.
Is there any way, to turn on / off HFS remotely, without logging in with RDC, or any way to set up a scheduling, so it turns on every day 7am, when I leave?

Thanks for any replies in advance,
Mate Gulyas


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
At least in XP and Vista you can use the task scheduler to start or exit HFS at selected hours.

To turn HFS on remotely, you have to use some rdc, because a not running program won't accept any commands! ;)
your computer has no brain - use your own !


Offline Avalon

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
At least in XP and Vista you can use the task scheduler to start or exit HFS at selected hours.

To turn HFS on remotely, you have to use some rdc, because a not running program won't accept any commands! ;)
It is running, but you can set HFS on and off with F4. I do this, so it can accept commands. :) But the scheduler is a good idea, I give it a try.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
it's easy to make a command to switch off your HFS remotely.
it's ok to add this to the template

[switchoff]
{.set ini|active=no.}

and then access http://server_address/~switchoff
but what about turning it on. you can't do it via http, because the server is off. so, how do you communicate with it?



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i don't see how those events could help him with his needs


darren

  • Guest
I am running hfs (i love it) on windows 7 RC.  I use the windows task scheduler to run it at system startup, it works almost like a service.  You can also schedule a time on/off quite easily.  This is great, but the tray icon does not show up in this case.  There does not seem to be a way to access the program while the task is running (its invisible).  To make a change, i have to kill the task from task manager, manually open the program, make the change, close the program, and re-run the task.  Anyone know why this is or what can be dome about it?

Don't forget to donate.

Darren


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
HFS is running in another user-context (see task manager, HFS probably runs in session 0). While in XP services still could interact with the desktop, it is impossible in Vista (security measures). HFS would need to be split in a service and a GUI part communicating over TCP (example).
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile