View Single Post
Old 01-29-2004, 09:37 AM  
MaZza_Dj
Senior Member
 
Join Date: Oct 2003
Posts: 123
Default

my init.tlc is this:
first newdir and for second open close script

.
.
..

##### OnSiteUnnuke #####
# !!! WARNING !!!
# the good work of this script depend of the length of the Nuke_Header in ioA
# the default ioA Nuke_Header is: [Nuked]-
# define here the ioA Nuke_Header you use !! don't remove {} !!
set IOA_NUKE_TAG {[NUKED]-}
# so the ioA_Nuke_Length should be set to 8 chars
set IOA_NUKE_LENGTH 8

##### OnSiteWipe #####
# EXPERIMENTAL substrings path for ppl who need it (README-1ST.TXT exemple 2)
# if you use exemple 2: set ND_SUBSTRINGS "/INCOMING /ARCHIVES"
# if you use exemple 1 & /ARCHIVES dir : set ND_SUBSTRINGS "/ARCHIVES"
set ND_SUBSTRINGS ""


################################################## ###############################
##### GLOBAL OCSCRIPT 2.2 INI #####

# set here the path for ocscript
set ocscript(PATH) "../scripts/ocscript"

# set here the default reason message (if none are set in 'site close <reason>')
set ocscript(REASON) "Upgrading Hardware or Admin Problem"

# set here the flags who can bypass the close & the masskick
set ocscript(BYPASS) "1M"


my ioftpd.ini is this:

Reset = 0 0 * * &Reset
Service_Update = 10,30,50 * * * &Service_Update
spidersl = 0 0 * * EXEC php.exe -q E:\ioFTPD\scripts\php_psio\zipscript-c.php spidersl
Newday = 0 0 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE
Weekly = 0 0 * 6 EXEC ..\scripts\ioA\ioA.exe WEEKLYSET
static = 57 23 * * TCL ..\scripts\static.itcl all
static = 58 23 * * TCL ..\scripts\static.itcl atopdn 20
static = 59 23 * * TCL ..\scripts\static.itcl dtopup 10
DailyReset = 0 0 * * TCL ..\scripts\Readd\reset.itcl day
WeeklyReset = 0 0 * 0 TCL ..\scripts\Readd\reset.itcl week
MonthlyReset = 0 0 1 * TCL ..\scripts\Readd\reset.itcl month

[Events]
OnUploadError = EXEC php.exe -q E:\ioFTPD\scripts\php_psio\zipscript-c.php
OnUploadComplete = EXEC php.exe -q E:\ioFTPD\scripts\php_psio\zipscript-c.php
OnUploadError = TCL ..\scripts\newdir\OnUploadError.itcl
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = TCL ..\scripts\badurl.itcl
;OnDownloadError =
;OnDownloadComplete =
;OnResume =
;OnUpload =
OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnDelDir = TCL ..\scripts\newdir\OnDelDir.itcl
;OnLogIn =
OnServerStart = TCL ..\scripts\newdir\OnServerStart.itcl
OnServerStart = TCL ..\scripts\ocscript\OnServerStart.itcl
;OnServerStop =
;OnServiceStart =
;OnServiceStop =
OnFtpLogIn = EXEC ..\scripts\ioA\ioA.exe logon


[Modules]
;MessageVariableModule = ..\modules\cookie.dll
;UserModule = ..\modules\networkuser.dll
;GroupModule = ..\modules\networkgroup.dll
;EventModule = ..\modules\eventmodule.dll


[FTP_Pre-Command_Events]
list = TCL ..\scripts\newdir\OnPreList.itcl
stor = TCL ..\scripts\newdir\OnPreStor.itcl
mkd = TCL ..\scripts\newdir\OnPreMkd.itcl
site = TCL ..\scripts\Readd\presite.itcl
user = TCL ..\scripts\ocscript\OnPreUser.itcl

[FTP_Post-Command_Events]
;mkd =
;stor =
dele = EXEC php.exe -q E:\ioFTPD\scripts\php_psio\postdel.php
dele = TCL ..\scripts\newdir\OnPostDele.itcl
rmd = TCL ..\scripts\newdir\OnPostRmd.itcl

My config are right? or i can put after one other script the ocscript?
MaZza_Dj is offline   Reply With Quote