PDA

View Full Version : Add external rehash


FTPServerTools
10-24-2003, 07:39 AM
A few simple ideas:
1: add something (using shared mem??) to do a rehash on ioftpd automatically. Example of use:
if time between x and y then close service
thus an externally proggy changes the ioftpd.ini and calls rehash.
Or it changes the hosts.rules file.

2: add something to (re)load io from another ini.
between time x and y ini nr 1 is active, otherwise ini nr 2.
This would make it easy to make different configs with little coding it would make things powerfull. E.g. make something for it in the scheduler, like
SwitchWeekends = 0 0 0 * &switchini .\ioftpdweekends.ini
SwitchNoWeekends = 2 0 0 * &switchini .\ioftpdnormal.ini