-- Author: Luke
-- Date: 2010-04-23
- Code: Select all
require("w32")
local title = "File downloaded"
local info = "%Name [%IP] downloaded a file '%PathName'. "
w32.ShowBalloon(info, title)

Here we used a modified Lua lib "w32", it allows Lua scripts to call some windows APIs.
And we provide a archived file with lib "w32", you can download it then unzip it into the working directory of Wing FTP Server.
Download Link: http://www.wftpserver.com/bbsres/libw32.zip
Note1: This script will be compatible with Win2000, Win XP and Win2003.
Note2: Wing FTP Server service must be set to "Allow service to interact with desktop", otherwise you will get no balloon tip.
Navigate to the Windows Control Panel and select Administrative Tools. Open Services. Look down the list of
services for the Wing FTP Server, and double click on it. Click the Log On Tab and check the option "Allow service to interact with desktop", then press OK.

Then restart the service, by right clicking on it and selecting "Restart".

