rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Diquito on March 10, 2004, 09:11:41 AM

Title: Service?!!
Post by: Diquito on March 10, 2004, 09:11:41 AM
Hi all HSF user :D
I must say that this is one of the neatest software I've seen in a loooong time...really well thought Rejetto...
And Now to my question first I though that I read in a thread that someone already had a upload "plugin" or something like that? Is it possible to dowload it to test it?
And my real question... what about running HFS as a service... That would be great if it was possible...
Once again thanks for the neat product  :lol:
Title: Service?!!
Post by: rejetto on March 10, 2004, 04:46:20 PM
no plugin
it is embedded
actually, version 1.6 has upload code inside, but it is disabled because it is incomplete
it is early to test it now, you will have to wait

ATM there's no plan for it be work as service
it would require too much work
you can try using firedaemon anyway
Title: Service?!!
Post by: Bob on March 10, 2004, 06:06:44 PM
you can try instsrv and srvany from the w2k resource kit
actually I will give it a try tommorow and report back
Title: Service?!!
Post by: Diquito on March 10, 2004, 07:30:41 PM
Oki thanks Rejetto for the upload info... I'll be waiting for it.

Bob I'll be waiting for your report too  :D  cos im acctually not so interested to run firedaemon though.
Title: Service?!!
Post by: rejetto on March 13, 2004, 02:48:08 AM
i never heard of those tools
i'm interested too :)
Title: Service?!!
Post by: Bob on March 13, 2004, 03:58:21 AM
Totally forgot about this, sorry
Well, as I'm stuck in work and have nothing better to do I have done a quick test
For some reason my server denies me to connect remotely today so I tested it on standard win2000 workstation, I'll try it tomorow on win2003 server

Basically you need instsrv.exe and srvany.exe, they are part of the win2000 resource kit, but can be downloaded on the net - google is your friend :)

you put both files in a folder (I preffer c:\winnt)
the open up a command prompt, go to winnt, enter "instsrv HFS c:\winnt\srvany.exe" where HFS is your desired service name and is followed by the absolute path to srvany.exe
Good, service is now added

Second step is to go to the registry, go to HKLM/System/CurrentControlSet/Services/<name of your service>
Here you have to add a new key (folder), name it Parameters. In this parameters key you create a new string (right click > new > string, in right window), name is Application, and the value of the string is the absolute path to hfs.exe
That's it.
However you need to make hfs load the vfs definition file, are there any command line switches for this?
But the test works this way too - of course no folders are loaded because none are setup but you can test it and see that the page loads etc. Of course you can't change any setting nor view the log, to do that simply stop the service and start the exe manually :)

instsrv/srvany are good tools, I use them to install UD as a service on some systems where I want them run 7x24
Title: Service?!!
Post by: Bob on March 13, 2004, 04:02:07 AM
just realized > to auto-load the vfs file on startup - there's the option for it in the menu to load the last used file :D
Title: Service?!!
Post by: Anonymous on March 13, 2004, 11:35:06 AM
Thanks Bob
I'll try it on WinXP well if it works there  :)
Title: Service?!!
Post by: Diquito on March 13, 2004, 01:56:12 PM
Well Bob!
It work perfectly on XP too.. just so u now... :D
Title: Service?!!
Post by: Notorious on March 12, 2005, 05:04:26 PM
doesn't seem to work in w2k3

i have followed all the steps i see the service... i can start it and stop it... the only problem is when i try to load the page... i get cannot be displayed
Title: Service?!!
Post by: bminor on September 25, 2005, 09:50:21 AM
it's useful
a remind that before you change the program to services, it'd better to click "save options-->to registry(all users) in order to make setting up-to-date.