PDA

View Full Version : big newdir prob


Miezekatze
05-24-2004, 12:01 PM
hi guys tried it for 5 longs days but it doesn´t work ;o( there is nothing logged in the newdir.log and i read all the threads but without any solutions so here is my init file.... in ioFTPD/scripts.


##### GLOBAL NEWDIR 3.5.1 INI #####
# setup here the path of log
set ND_IOLOG "../logs"

# setup here the path of newdir
# don't forget to setup bandir.cfg & banfile.cfg
set ND_PATH "../scripts/newdir"

# setup here your VFS sections (except hidden sections like PRE)
set ND_SECTIONS "sec1 sec2 sec3 sec4 sec5"

# setup here the addons you want use or not
# 0=enabled 1=disabled (default=0)
set ND_DISABLE(bandir) 0 ; # ban unwanted dirs
set ND_DISABLE(banfile) 0 ; # ban unwanted files
set ND_DISABLE(dupedir) 0 ; # dupecheck dirs
set ND_DISABLE(dupefile) 0 ; # dupecheck files
set ND_DISABLE(symlink) 0 ; # latest race/pre symlinks in root
set ND_DISABLE(nfourl) 0 ; # parse .nfo for imdb/allocine/urls on PRE
set ND_DISABLE(cache) 0 ; # Directory Cache Refreshing by Tuff

# setup here the paths masks (or dirs masks) you don't want to be logged in newdir.log
set ND_NOLOG(ND) "*/multi*"

# setup here the paths masks (or dirs masks) you don't want to be logged in dupedir.log
set ND_NOLOG(DIRS) "*/_Pub/_MP3*"

# setup here all paths masks (or file-extension masks) you don't want to be logged in dupefile.log
set ND_NOLOG(FILES) "*/_Pub/_MP3/* *.diz *.nfo"

# setup here all paths mask you want NO DUPECHECK/BANS UNDER THESE PATHS
set ND_NODUPECHECK "*/admin/* */_PRE/#REQUESTS/*"

# Set this to 0 if you want to allow MKD/STOR in ROOT DIR
# set this to 1 if you want to deny MKD/STOR in ROOT DIR (Default)
set ND_NoRoot 1

##### OnSitePre #####
# setup here all your PRE sections !!! case sensitive !!!
# sections syntax: pretype:section:/VFS/PATH/ <----- vfs path must be finished by a "/"
# | | |
# | | |______________ vfs path with dates (must be identical than ioA PRE <vfs path>). Check syntax below
# | |______________________ name of section logged in newdir.log (respect the case you used for ND_SECTIONS)
# |______________________________ pretype used in ioA (respect the case you used in ioA)
#
# !!! datemask in 'ioA PRE <vfs path>' have a different syntax than TCL (case sensitive) !!!
# TCL syntax: day=%d ioA syntax: day=%D
# week=%W week=%W
# month=%m month=%M
# year(2digits)=%y year(2digits)=%y
# year(4digits)=%Y year(4digits)=%Y
#
# !!! DON'T USE SPACE IN VFS PATH OR DATEMASK !!! You can use - or .
set ND_PRE_SECTIONS ""

##### 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 ""


events

OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnUploadError = TCL ..\scripts\newdir\OnUploadError.itcl
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnDelDir = TCL ..\scripts\newdir\OnDelDir.itcl
OnServerStart = TCL ..\scripts\newdir\OnServerStart.itcl


custom commands

wipe = EXEC ..\scripts\ioA\ioA.exe WIPE
wipe = TCL ..\scripts\newdir\OnSiteWipe.itcl
weekly = EXEC ..\scripts\ioA\ioA.exe WEEKLY
weeklyset = EXEC ..\scripts\ioA\ioA.exe WEEKLYSET
syslog = EXEC ..\scripts\ioA\ioA.exe SYSLOG
errlog = EXEC ..\scripts\ioA\ioA.exe ERRLOG
cmdlog = EXEC ..\scripts\ioA\ioA.exe CMDLOG
resetuser = EXEC ..\scripts\ioA\ioA.exe RESETUSER
resetstats = EXEC ..\scripts\ioA\ioA.exe RESETSTATS
size = EXEC ..\scripts\ioA\ioA.exe SIZE
search = EXEC ..\scripts\ioA\ioA.exe SEARCH
searchirc = EXEC ..\scripts\ioA\ioA.exe SEARCHIRC
sfv = EXEC ..\scripts\ioA\ioA.exe SFV
rescan = EXEC ..\scripts\ioA\ioA.exe RESCAN
rescanall = EXEC ..\scripts\ioA\ioA.exe RESCANALL
request = EXEC ..\scripts\ioA\ioA.exe REQUEST
reqfilled = EXEC ..\scripts\ioA\ioA.exe REQFILLED
reqdel = EXEC ..\scripts\ioA\ioA.exe REQDEL
onel = EXEC ..\scripts\ioA\ioA.exe ONELINE
take = EXEC ..\scripts\ioA\ioA.exe TAKE
give = EXEC ..\scripts\ioA\ioA.exe GIVE
transfer = EXEC ..\scripts\ioA\ioA.exe TRANSFER
invite = EXEC ..\scripts\ioA\ioA.exe INVITE
newdate = EXEC ..\scripts\ioA\ioA.exe NEWDATE
msg = EXEC ..\scripts\ioA\ioA.exe MSG
pre = EXEC ..\scripts\ioA\ioA.exe PRE
pre = TCL ..\scripts\newdir\OnSitePre.itcl
nuke = EXEC ..\scripts\ioA\ioA.exe NUKE
nuke = TCL ..\scripts\newdir\OnSiteNuke.itcl
unnuke = EXEC ..\scripts\ioA\ioA.exe UNNUKE
unnuke = TCL ..\scripts\newdir\OnSiteUnnuke.itcl
nukes = EXEC ..\scripts\ioA\ioA.exe NUKES
unnukes = EXEC ..\scripts\ioA\ioA.exe UNNUKES
ioaver = EXEC ..\scripts\ioA\ioA.exe IOAVER


so where is the prob init file is in ioFTPD/scripts and the rest in ioFTPD/scripts/newdir

mfg
mieze

_________________________________________

proble solved by Sen|c:

the proble is that newdir didn´t likes sections in which the last folder has got an _ like /_MP3/*

i changed to /MP3/* and then it worked....

mfg

durulink
06-16-2004, 06:24 PM
Same problem as mine.

Good discovery!!
THX (--)(__)