rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: MarkV on December 06, 2006, 07:15:47 PM
-
2006-12-06 19:31:13 Server start
06.12.2006 19:32:31 Check update: no new version
Update check doesn't use ISO date!
MarkV
-
hmm, i tested it and wasn't able to reproduce the bug. can you?
2006-12-08 5.44.11 Check update: new version found
in the INI, you can remove last-update-check to reset the timer.
-
from maverick's HFS log:
2006-12-08 2:53:15 AM Server start
2006-12-08 2:53:40 AM Check update: no new version
I tested it here too. I can't reproduce either. Working as it should.
-
2006-12-11 00:55:12 Server start
2006-12-11 00:56:19 Check update: no new version
Problem resolved itself. My hfs.ini was still from build #061 and not updated. Re-saved settings and now works fine.
Though I may add...
The update check should occour daily, right? I never save my settings automatically, neither at shutdown nor timed. Thus the Last_update_check value never gets updated, either.
You could write that value to an extra update.ini file immediately after update check, regardless of the 'Save settings' chosen or not. Or you could always write this value to the registry.
Topic can be closed as original problem has been resolved, cheers!
MarkV
-
hmm, you are right, i will think of it
-
ok, i found a solution.
upon checking for updates, HFS saves a temp file (in the temp system folder) for remembering the time.
when options are saved, this value is included in the options, so the temp file is deleted.
if options are not saved, the file remains, and is "loaded" next time HFS starts.
"uninstall" and "clear options", both delete this temp file.
this method is included since build #068.
this build is released as unstable at www.rejetto.com/temp/hfs068.exe
should be declared stable after 5 days.
trying this new way after recent complaints.
-
OK, I'm unlocking this topic again. :)
...HFS saves a temp file (in the temp system folder)...
Do you mean the folder defined by 'TEMP'? That would make no sense since I clean this folder regularly. Couldn't this file be in HFS program directory?
MarkV
-
hmm, i could save in the same folder of HFS, and if it is not writable, save in the TEMP folder.
how this?
-
i agree, as the hfs use some default ports, it could use some default folders, it is a good idea rejetto...
-
hmm, i could save in the same folder of HFS, and if it is not writable, save in the TEMP folder.
how this?
Perfect. ;D
MarkV
-
i'm working on another fix
will publish a build soon
-
here is the new build
www.rejetto.com/forum/?topic=4013