To get started with file monitoring, you can set up your own ini file. The only entries required to start with are the Tic entry in the [Properties] section, and the FileName entry in the [File0] section. The file should be set up in the same folder as the Tunnel Client application, KiwiTCS.exe. You can also rename the supplied sample ini file and enter the name of the file you wish to monitor. The freeware version of the Tunnel Client allows you to monitor 1 file while the registered version allows you to monitor more than 1 file.
If the Client successfully finds and reads the ini file, it monitors the files defined in it, using the default values for the other entries if nothing but the file name is set. At shutdown time the Client program writes out the values of all the entries as it knows them.
If the file to be monitored does not exist at the time the Client starts up, it will keep looking for it, so when it is created the Client opens it and starts to monitor it.
The Client keeps track of where it is monitoring in the file, so that when it is restarted it can continue from where it left off. The FilePosition entry holds this location.
If a file being monitored is refreshed or recreated while the Tunnel Client is running, it tries to detect that the file is not what it used to be, and should restart monitoring the file from the position indicated in the StartPosition entry.
If you wish to reset the monitoring position in the file manually, for instance if the file has been refreshed by archiving or similar process, you may set the FilePosition entry to 1 and the Client will monitor the file from the start when it starts up again.
Note that the file monitoring ini file should be changed only while the Tunnel Client Service is not active. The Service continuously refreshes the ini file with the latest settings while it is running, so any changes made manually to the ini file are lost when the ini file is refreshed.