LoginOut.exe This little program is to be used in G6 ftpserver and other servers that allow OnLogin and OnLogout events. It will look for a file call FTPServerTools.ini with contents: [Files] LoggedIn=C:\FTPServer\LoginStats.txt Of course FileName can be any file in which you want to remember who is currently logged on. It knows 3 different commands: LoginOut INSERT clientname ipnumber - This will insert the client with ip number in C:\src\g6\loginout\LoginStats.txt - in G6 use this in the OnUserLoggedIn for example "C:\Program Files\G6 FTP Server\LoginOut.exe" INSERT %CLIENTNAME %CLIENTIP %CLIENTPASSWORD LoginOut REMOVE clientname ipnumber - This will remove the client with ip number in C:\src\g6\loginout\LoginStats.txt - in G6 use this in the OnUserDisconnect for example "C:\Program Files\G6 FTP Server\LoginOut.exe" REMOVE %CLIENTNAME %CLIENTIP %CLIENTPASSWORD LoginOut RESET - This will empty C:\src\g6\loginout\LoginStats.txt - in G6 use this in the OnServerStopped and/or OnServerStarted for example "C:\Program Files\G6 FTP Server\LoginOut.exe" RESET The contents of LoginStats.txt will be e.g. Lamer 192.168.0.2 password Lamer 192.168.0.2 password Super 192.168.0.7 supa Medium 1.1.1.1 zzzz So Lamer is logged in twice as you see. To repeat from the BFTP help file: %CLIENTNAME: User Account. %CLIENTGROUP: Group Account. %CLIENTIP: User IP. %CLIENTLOGIN: Login used by client. %CLIENTPASSWORD: Password used by client. Dont use the %DATE or %TIME in the eventline since they change. Revision history. 1.0.0: initial build 1.0.1: minor fix 1.0.2: added a completely different scheme.. RESET now makes an empty file, INSERT inserts the text after INSERT and REMOVE removes the text after remove 1.0.3: Recompiled to use msvcrt.dll, smaller executables 1.0.4: Renamed FTPLogger.ini to FTPSeverTools.ini, changed the [LoginOut] ... Filename= to [Files] LoggedIn=....