Thread: ioSPEAK
View Single Post
Old 02-12-2005, 03:09 PM  
Grendel
Senior Member
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Talking ioSPEAK

very nice for home-ftps ;-)

Code:
########################################################################
##                                                                    ##
## 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]."
__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i
Grendel is offline   Reply With Quote