Grendel
02-12-2005, 03:09 PM
very nice for home-ftps ;-)
################################################## ######################
## ##
## ioSPEAK v1.0 by Grendel ##
## ~~~~~~~~~~~~~~~~~~~~~~~ ##
## ##
## 1) This uses "speak.exe" from FTPServerTools (Big THX for it !!!) ##
## ##
## Download under: http://www.ioftpd.com/scripts/script.php?id=97 ##
## ##
## 2) Microsoft Speech SDK must be installed ##
## ##
## Download under: http://www.microsoft.com/speech/download/sdk51/ ##
## ##
## Info: ##
## ~~~~~ ##
## ##
## Tested on WinXP & Win Server 2003 family only ! ##
## ##
## Installation: ##
## ~~~~~~~~~~~~~ ##
## ##
## 1) Create Directory "..\scripts\ioSPEAK\" ##
## 2) Copy "speak.exe" into "..\scripts\ioSPEAK\" ##
## 3) Create a batch named "ioSPEAK.bat" in "..\scripts\ioSPEAK\" ##
## ##
## @echo off ##
## echo !detach 0 ##
## cd %~dp0 ##
## speak.exe %1 ##
## ##
## ##
## 4) Add following lines below to the ioFTPD.ini and REHASH CONFIG ##
## ##
################################################## ######################
## ##
## Knows issues: ##
## ~~~~~~~~~~~~~ ##
## ##
## Sometimes "serverstop" msg is not played when killing daemon ##
## ##
################################################## ######################
[Events]
OnServerStart = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "I O Af Tee Pee Dee started successfully."
OnServerStop = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "I O Af Tee Pee Dee is shutting down."
OnUploadError = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Upload error."
OnDownloadError = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Download error."
OnFtpLogIn = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Welcome User %[$user]."
OnNewDir = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Directory created by %[$user]."
OnDelDir = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Directory deleted by %[$user]."
OnUpload = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Upload started by %[$user]."
OnResume = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Resume started by %[$user]."
[FTP_Post-Command_Events]
quit = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Bye Bye User %[$user]."
################################################## ######################
## ##
## ioSPEAK v1.0 by Grendel ##
## ~~~~~~~~~~~~~~~~~~~~~~~ ##
## ##
## 1) This uses "speak.exe" from FTPServerTools (Big THX for it !!!) ##
## ##
## Download under: http://www.ioftpd.com/scripts/script.php?id=97 ##
## ##
## 2) Microsoft Speech SDK must be installed ##
## ##
## Download under: http://www.microsoft.com/speech/download/sdk51/ ##
## ##
## Info: ##
## ~~~~~ ##
## ##
## Tested on WinXP & Win Server 2003 family only ! ##
## ##
## Installation: ##
## ~~~~~~~~~~~~~ ##
## ##
## 1) Create Directory "..\scripts\ioSPEAK\" ##
## 2) Copy "speak.exe" into "..\scripts\ioSPEAK\" ##
## 3) Create a batch named "ioSPEAK.bat" in "..\scripts\ioSPEAK\" ##
## ##
## @echo off ##
## echo !detach 0 ##
## cd %~dp0 ##
## speak.exe %1 ##
## ##
## ##
## 4) Add following lines below to the ioFTPD.ini and REHASH CONFIG ##
## ##
################################################## ######################
## ##
## Knows issues: ##
## ~~~~~~~~~~~~~ ##
## ##
## Sometimes "serverstop" msg is not played when killing daemon ##
## ##
################################################## ######################
[Events]
OnServerStart = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "I O Af Tee Pee Dee started successfully."
OnServerStop = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "I O Af Tee Pee Dee is shutting down."
OnUploadError = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Upload error."
OnDownloadError = EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Download error."
OnFtpLogIn = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Welcome User %[$user]."
OnNewDir = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Directory created by %[$user]."
OnDelDir = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Directory deleted by %[$user]."
OnUpload = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Upload started by %[$user]."
OnResume = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Resume started by %[$user]."
[FTP_Post-Command_Events]
quit = %EXEC ..\scripts\ioSPEAK\ioSPEAK.bat "Bye Bye User %[$user]."