View Full Version : NEWDIR SCRIPT - site new/dupe/undupe with fast dupechecker
bounty
03-20-2003, 04:13 PM
hi m8s
new link: http://www.ioftpd.com/scripts/script.php?id=56
have fun
bounty
NeoRanga
03-20-2003, 04:20 PM
fine new version but for the 4.6x versions of io this script doesn't log anything with the same script config:(
bounty
03-20-2003, 04:45 PM
haven't tested yet with 4.6.x
SomeoneWhoCares_2
03-20-2003, 08:25 PM
hi, would it be possible to make newdir have user selectable ascending or descending output
also an option to have either section + dir name as seperate columns or just output the path, i find having section as its own column wastes space and im forced to set length of the directory name output lower then i would like so as not to have output get all messy by using up more then one line per newdir. i think a 75 character dirname should be able to fit on one line with all the important info too
also, would it be possible to make a topXX downloaded dirs script? I know one exists for glftpd but not sure what its called or where u can find it...
the end :o
tronq
03-21-2003, 05:14 PM
what about stuff that is preed uisng ioa.. ? it's not listed in newdir... anyway this can be done ?
bounty
03-22-2003, 12:24 PM
Originally posted by tronq
what about stuff that is preed uisng ioa.. ? it's not listed in newdir... anyway this can be done ?
atm it can't be done
i tried to add it but i can't call 2 scripts PRE in same time
and
i tried to call ioA.exe from an itcl script and it don't work
(i think pre don't work from dos or i don't have the rights args)
so maybe later i dunno how to get it to work
have fun
bounty
darkone
03-22-2003, 12:37 PM
Pre & post scripts are ran in queue. If script returns with non zero value, remaining queue is ignored.
bounty
03-22-2003, 02:06 PM
Originally posted by darkone
Pre & post scripts are ran in queue. If script returns with non zero value, remaining queue is ignored.
well i don't talk about [pre] & [post] part in the ini who can be called more than once
i talk about [Scripts] part in the ini
i tried 2 entries for the same cmd:
PRE = ..\scripts\ioA\ioA.exe pre
PRE = ..\scripts\pre.itcl
it only do the 1st entry
have fun
bounty
caladan
03-22-2003, 02:09 PM
b0unty: warc will makte it possible to run a prog after pre has run. so u can add a script there.
bounty
03-22-2003, 02:50 PM
Originally posted by caladan
b0unty: warc will makte it possible to run a prog after pre has run. so u can add a script there.
yep maybe .. but it would be nice if it can be supported in ioftpd ;)
have fun
bounty
raz0r
03-28-2003, 01:16 PM
odd bug(?). I noticed when I did a site new; and it displayed the
1 19h56m raz0r GAMES <RLS>
when it should have been only 1h56m.. typo some where?
cheers,
darkone
03-28-2003, 01:27 PM
Originally posted by bounty
well i don't talk about [pre] & [post] part in the ini who can be called more than once
i talk about [Scripts] part in the ini
i tried 2 entries for the same cmd:
PRE = ..\scripts\ioA\ioA.exe pre
PRE = ..\scripts\pre.itcl
it only do the 1st entry
have fun
bounty
There's a bug related to running [scripts] in queue.. :/ It's fixed in the coming version.
bounty
03-29-2003, 03:38 AM
thx darkone ;)
Unique
04-03-2003, 07:41 AM
Nice one bounty.
Could you maybe improve the ban feature?
So that it can read the log it makes, so you could ban dupe dirs for example.
Then some exclude options like sample cd1 etc, and some undupe command. :D
bounty
04-26-2003, 03:50 PM
267 downloads .... nice ;)
thx
MidKnight
04-28-2003, 01:36 AM
whats wrong here, when i do site who all that happens is
[16:35:45] site new
[16:35:45] 200 Command Successful.
malexx
04-29-2003, 05:15 AM
does this script support the new io versions or not?i cant get this one to work on the newest version!
bounty
04-29-2003, 05:24 AM
i really dunno if this work with latest ioftpd
i still use 4.5.4 beta.
i wait to upgrade ioftpd untill it support all futures i need
so if someone can give some feedback it would be welcome
have fun
bounty
io 4.6.2u + newdir 2.1 = works great
daraz
04-29-2003, 09:52 PM
MidKnight - I had same problem happening, unsure if it will be same fix as what i did though. the dox say i think to use relitive paths:
OnFtpNewDir = ..\scripts\newdir\newdirlog.itcl
setting it up like that the script seems to lie to you, says its successful however never creates / writes to the log file. Try using absolute path, example:
OnFtpNewDir = c:\ioftpd\scripts\newdir\newdirlog.itcl
I did this only for the EVENTS and PRE, the script line i left as relitive.
hope that solves your problem!
( Using the Registered version )
- DaRaz
MidKnight
04-29-2003, 09:58 PM
nope didn't seem to work either. does this look right?
[Events]
;OnUploadError =
;OnUploadComplete =
;OnResume =
;OnUpload =
;OnFtpNewDir = C:\Program Files\ioFTPD\scripts\newdir\newdirlog.itcl
;OnFtpDelDir =
;OnFtpLogIn = ..\ioA\ioA.exe logon
;OnTelnetLogIn =
;OnHttpLogIn =
;OnServerStart =
;OnServerStop =
[Pre]
;stor = C:\Program Files\ioFTPD\scripts\newdir\banfile.itcl
;mkd = C:\Program Files\ioFTPD\scripts\newdir\bandir.itcl
;mkd = C:\Program Files\ioFTPD\scripts\premkd.itcl
SnypeTEST
04-29-2003, 10:25 PM
take off the comment tag. ";" on the evens that you need.
[events]
OnFtpNewDir = C:\Program Files\ioFTPD\scripts\newdir\newdirlog.itcl
OnFtpLogIn = ..\ioA\ioA.exe logon
[Pre]
stor = C:\Program Files\ioFTPD\scripts\newdir\banfile.itcl
mkd = C:\Program Files\ioFTPD\scripts\newdir\bandir.itcl
MidKnight
04-29-2003, 10:40 PM
Doh!
anyway i done that, and still nothing
[13:38:55] site new
[13:38:55] 200 Command Successful.
SnypeTEST
04-29-2003, 10:53 PM
restarted ? created some new dirs? ;)
MidKnight
04-29-2003, 11:00 PM
created new dir/ - yes
restart - no, but i rehashed which should be ok shouldn't it?
daraz
04-29-2003, 11:17 PM
you have it in C:\Program Files, I have never tried it in a path with spaces, it might not like spaces, try changing the path to:
OnFtpNewDir = C:\Progra~1\ioFTPD\scripts\newdir\newdirlog.itcl and yes Rehashing should be good enough move after you make changes
MidKnight
04-29-2003, 11:20 PM
still no go:confused:
MidKnight
04-29-2003, 11:41 PM
can someone post there path setup that u have set in the .itcl files. im just wanting to check the dir/ of the slashes.
daraz
04-30-2003, 12:23 AM
set log "c:/ioFTPD/logs/newdir.log"
set log "c:/ioFTPD/logs/newdir.log"
set msgpath "c:/ioFTPD/text/ftp"
MidKnight
04-30-2003, 12:32 AM
well this really sux. everything looks ok, everything i've tried, just dont work
daraz
04-30-2003, 12:39 AM
make the log file, cuz i assume it doesnt already exist ( newdir.log )
add this line for test purposes to the log file:
1051319627 daraz VCD test
save it,
raw command the ' site new '
see if that part works and it lists the test
MidKnight
04-30-2003, 12:51 AM
well that was interesting.
Without a newdir.log file
[15:50:52] site new
[15:50:52] 200 Command Successful.
With a newdir.log file (whether empty or not)
[15:51:27] site new
[15:51:27] 200- --------------------------------------------------------------------------------
[15:51:27] 200- ## | Age | Owner | Section | Directory Name
[15:51:27] 200- ----+-------+---------+---------+-----------------------------------------------
[15:51:27] 200- ---------------------------------------------/ NEWDIR V2.1 by B0unTy /----------
[15:51:27] 200-
[15:51:27] 200- Use SITE NEW <num> <section> to show the last <num> directories in <section>
[15:51:27] 200 Command Successful.
bounty
05-02-2003, 05:34 AM
Originally posted by MidKnight
well this really sux. everything looks ok, everything i've tried, just dont work
since it seems to work for other ppl ... i think your settings suxx ;)
have fun
bounty
MidKnight
05-02-2003, 06:54 AM
and i think it sux that developer doesn't try and lend a hand also ;)
Zer0Racer
05-02-2003, 12:01 PM
As daraz said there might be a problem with paths containing spaces.
I'm not sure if ioFTPD.ini likes paths with spaces (or absolute paths) like:
C:\Program Files\ioFTPD\scripts\newdir\banfile.itcl
My suggestion (might not solve your problem though) is to change all paths from C:\Program Files\ioFTPD\scripts\etc. to relative paths ..\scripts\etc. or try using "C:\Program Files\ioFTPD\scripts\newdir\banfile.itcl"
Btw.. B0unTy's NEWDIR script 2.1 works juuuust fine here :)
MidKnight
05-02-2003, 08:04 PM
yes i i've tried it. i can't understand why it wont run. banned folders or file works fine, it just wont list new dir/. very odd
I got the same problem, the script doesnt write or read the log.file
my paht is c:\ioftpd.... so i don´t think thats the problem, tried "everyhing" i can think of, reinstalled twice, reconfiguring bla bla bla.
os:2000 Server sp3 fat32
MidKnight
05-03-2003, 02:10 AM
then im not the only one. if you find the answer, please let me know. i'll return the fav
DaemonEye
05-03-2003, 09:37 AM
I have the same problem :(
i use ioFTPD-beta4-5-4
MidKnight
05-03-2003, 10:29 AM
good, my settings dont suck after all;)
bounty
05-03-2003, 03:14 PM
MidKnight contact me on irc efnet #ioftpd
bounty
05-05-2003, 02:41 AM
Originally posted by MidKnight
good, my settings dont suck after all;)
ofcoz your setting suxx like the other guy who contacted me yesterday on irc to help him to fix his problem !!
he forgot to remove the ";" like:
;OnFtpNewDir = ..\scripts\newdirlog.itcl
have fun
bounty
bounty
05-05-2003, 02:44 AM
Originally posted by bounty
MidKnight contact me on irc efnet #ioftpd
and i'm still waiting (2 days) for you to contact me on irc ....
do you know how irc client work ??
have fun
bounty
MidKnight
05-05-2003, 03:46 AM
bounty i sent you a PM, u didn't get it?, i dont use IRC, u on CQ?
bounty
05-05-2003, 08:17 AM
hmm sorry i don't use much icq ;)
IRC rulez ... i use it since 1995 ;)
MidKnight
05-16-2003, 12:48 PM
ok finally got it working, wasn't added the names in the section field!, thanks for phantom.
One last thing, can we use dir/ names with spaces?, if so, what format would it need to be written, example
[ Test ]
bounty
05-16-2003, 02:31 PM
it's not dedicated to work with space in dirs so you should try yourself (it should work)
but i will not support much dirs with space
have fun
bounty
MidKnight
05-16-2003, 11:35 PM
yeah it doesn't seem to work, thanks anyway. one other thing, for example
section "test"
a folder is made under test/testsub, is new dir able to display where the new folder is, instead of just "test"
Bratell
06-01-2003, 11:13 AM
I'm having a tiny problem with NEWDIR when making a directory in my TV-dir. For some reason NEWDIR won't log the correct section to newdir.log. Instead it writes the last section uploaded to previously. I guess it's because it can't find the correct section and therefore writes the one it has stored in memory... or something like that. :)
I've configured the ioftpd-sections like this in ioftpd.ini:
0DAY = 0 /0day/*
DIVX = 0 /DiVX/*
DVDR = 0 /DVD-R/*
ISO = 0 /ISO/Docs/*
MP3 = 0 /MP3/*
REQUEST = 0 /Request/*
SVCD = 0 /SVCD/*
TV = 0 /TV-Rips/*
VCD = 0 /VCD/*
Default = 0 *
and there shouldn't be any problem. At least I get the proper section when browsing the TV-Rips directory.
In newdirlog.itcl i have this line setup:
set sections "0DAY DIVX DVDR ISO MP3 REQUEST SVCD TV VCD"
Pretty straight forward.
I've been checking for typos, spaces and obviuos misconfigurations, but I can't find any. What is strange is that it works on all other sections. It's just the TV directory that goes banana.
Can someone please try to give me a hint on what could be the problem? I'm sure it's something really simple that I'm just not seeing. ;)
Bratell
06-01-2003, 11:42 AM
And the answer to that long question was: It reads the section from the path, not the ioftpd.ini.
Thank you for your attention ;)
bounty
06-01-2003, 11:54 AM
:D
tronq
06-16-2003, 12:07 PM
How goes it with the pre part of new dir ?
are there a sulution to add pres to the "new" listing...
Ollomat
07-11-2003, 08:56 AM
"And the answer to that long question was: It reads the section from the path, not the ioftpd.ini."
I´m new to all this, so plz be a bit more exact, thx. Where do i add the sections to the path?
Ollomat
07-14-2003, 06:42 AM
Ok, no one answered so i got it working myself (with a little help..)
kraxdaz
07-26-2003, 07:37 AM
bounty ive a problem, the newdirlog create a new.msg with 0ko
but when i close ioftpd the file is complete :-/
I d'ont understand :confused:
thx for your help and all your nice scripts :)
Unique
08-31-2003, 06:05 AM
I got your script installed and it worx ok!
But id like to have some exclude path for the ban dir and file rules.
For example exclude /Request/* from the ban policies.. Many people just write what they want with spaces etc.
And id love to have a ban policy on existing dirs. For example:
/0101/Test.dir exists..
if people would like to create /0102/Test.dir the creation should get blocked.. If theres another script for this already plz mention a link/name.
Thanks
Nevermind: i see badazz made such scripts, ill try it tomorow.
fobban
09-10-2003, 12:30 AM
maybe add so if you delete a dir it also gets deleted from the newdir.log file,, would be awesome =)
bounty
09-13-2003, 11:30 AM
here we go
look at the 1st post to get new version of NEWDIR (2.2)
have fun
bounty
phoenixfr
09-13-2003, 11:36 AM
very nice mate
thx for sharing
fobban
09-13-2003, 12:23 PM
awesome b0unty!
bounty
09-13-2003, 01:19 PM
1007 downloads for newdir 2.1 .... ;)
i hope you'll do better with v2.2 ;)
have fun
bounty
fobban
09-14-2003, 04:21 AM
aweeeeeeeeeeeeeesomeeeeeeeeee
bounty
09-14-2003, 04:05 PM
ok here we go m8s ;)
NEWDIR 2.3 is OUT !!
check the 1st post to download link
have fun
bounty
fobban
09-19-2003, 05:10 PM
if i want to show the 10 latest created dirs when i enter a directory, how should i do that.. i suppose it would be possible with the execute cookie, but im not sure how it works..
%[execute ,, and then what?]
if anyone knows how, plz let me know..
fobban
09-19-2003, 05:26 PM
nevermind.. figured it out :)
for those who wanna know:
%[execute(path\to\script.xxx parameters)]
wasn't hardet than that :)
bounty
09-19-2003, 06:21 PM
THX to you m8
we know now you've read the doc file ;)
have fun
bounty
fobban
09-20-2003, 01:53 AM
bah lol it's in the docs !!
think i got pwnd :)
Bratell
09-28-2003, 04:49 AM
I'm running newdir v2.3. and I just updated to ioFTPd 5.1.3 from ioFTPd 5.0.13. All of a sudden, the newdir ban failed;
MKD [
426 Connection closed; transfer aborted. Banned dir: No tags allowed.
257 "[" created.
CWD [
250 CWD command successful.
or
MKD mkdir a b c
426 Connection closed; transfer aborted. Banned dir: No spaces allowed.
257 "a b c" created.
CWD a b c
250 CWD command successful.
So, the script is obviously run and I am getting the message "426 Connection closed", but somehow it still creates the banned directory name.
If I try to store a banned filename, it works:
STOR [
426 Connection closed; transfer aborted. Banned file: No tags allowed.
150 Opening BINARY mode data connection for [.
Transfer Failed!
Could this be evil at work?
Cheers!
NalgeNunc
09-28-2003, 08:13 AM
Yep, same failure here with NEWDir 2.3,
banfile.itcl works but banned dirs are created...
my config in IOFTPD.ini:
[Pre]
stor = TCL ..\scripts\banfile.itcl
mkd = TCL ..\scripts\bandir.itcl
Dunno why, perhaps error codes changed in latest ioFTPD.exe ?? (Bandir.itcl & Banfile.itcl do set ioerror 1)
Maybe there's evil @ work
Cheers
b>d>>s
09-28-2003, 08:34 AM
maybe its time d1 got a secretary :D
.
bounty
09-28-2003, 04:04 PM
it seems this problem come from ioftpd itself
i hope darkone will check this soon and let us know the problem (or the solution) ;)
have fun
bounty
phoenixfr
09-29-2003, 10:20 AM
i hope too ...
bounty
10-04-2003, 07:37 PM
hi m8s
i would like to know if NEWDIR's users are interested if i try to add a dupecheck (files) in itcl for next rls ?
please let a feedback about this.
thx
bounty
Optixxx
10-05-2003, 06:56 AM
*****************************************
Hi bounty
NewDir 2.3 added
site new command works great,all is correctly shown there from newdir.log
site new
200- +----+-------+---------+---------+--------------------------NEWDIR V2.3----------+
200- | ## | Age | Owner | Section | Directory Name |
200- +----+-------+---------+---------+-----------------------------------------------+
set sections "ISO DiVX MP3 RiP TOOLS SVCD EBOOK"
but in my section-files .ioFTPD.message
f.e
%[execute(..\scripts\newdir\newdir.itcl)(10 EBOOK)]
+----+------------------------------------------------------------------------+
only get
CWD EBOOK
250-+----+------------------------------------------------------------------------+
i dont get it to run....tried really all now....exec,full-path.itcl,etc
Maybe phys.paths are to "far" away from execution X:\EBOOK ?
btw lille gaming with"|" Charakter in nedir.itcl
iputs " +----+-------+---------+---------+--------------------------NEWDIR V$ver----------+"
iputs " | ## | Age | Owner | Section | Directory Name |"
iputs " +----+-------+---------+---------+-----------------------------------------------+"
line 68+69
if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 ||[string match -nocase $ndsection "all"] == 1 } {
iputs " \|\[[format %02d $cnt]\]|[format %-7s $age]| [format %-8s [lindex $tmpline 1]]| [format %-8s [lindex $tmpline 2]]| [format %-.${lng}s [lrange $tmpline 3 end]]"
cheers Optixxx
Optixxx
10-05-2003, 08:24 AM
********************************************
Solved!!!
%[execute(TCL ..\scripts\newdir\newdir.itcl)(10 TOOLS)]
Thx,[unique] for chan-help
well done
Optixxx
neoxed
10-05-2003, 10:52 AM
Originally posted by bounty
hi m8s
i would like to know if NEWDIR's users are interested if i try to add a dupecheck (files) in itcl for next rls ?
please let a feedback about this.
thx
bounty
Absolutely :D
bounty
10-06-2003, 09:05 AM
here we go m8s
a new update of my newdir script
ofcoz DL link is on 1st post
have fun
bounty
PS: only 1 person want dupecheck ... so i added in my todo list but not hurry ;)
MadCowAss
10-06-2003, 12:33 PM
Good Job !!!
Even if it is a minor update, it's always good to see that a script is up to date :)
NalgeNunc
10-07-2003, 07:05 AM
heya bounty,
good job with v2.4.
Theres one bug with OnPreStor & OnPreMkd which allows to create banned dirs/files when using Capitals.
Seems u forgot -nocase ;)
Shouldnt it be like that in .itcl ?
if { [string match -nocase $line $dirname] == 1 }
Thanx for your script
Keep it Up
Cheers
-=DoBBeR=-
10-07-2003, 11:23 AM
Originally posted by bounty
PS: only 1 person want dupecheck ... so i added in my todo list but not hurry ;)
I wand dupecheck too hehe
bounty
10-07-2003, 04:25 PM
bleh
bounty
10-07-2003, 04:26 PM
Originally posted by -=DoBBeR=-
I wand dupecheck too hehe
eheh then you are already 2 ;)
i'll check what i can do for you ;)
have fun
bounty
Blackthunder
10-08-2003, 12:40 PM
<<3 peoples>> :)
GoGo dupecheck GoGo
*G*
kraxdaz
10-08-2003, 01:40 PM
thx for all bounty it's a great script !
fobban
10-09-2003, 10:35 AM
i just say, keep up the good work, awwweeeeeesome :)
b>d>>s
10-09-2003, 11:52 AM
also, u dont need ==1 in
if { [string match -nocase $line $dirname] == 1 }
to,
if { [string match -nocase $line $dirname] }
will work fine
bounty
10-09-2003, 12:00 PM
ehe oki it's noted ;)
thx b>d>>s
Lunatik
10-13-2003, 09:11 PM
Something has changed that causes newdir not work work properly. Posted is a fix for those who upgrade to 5.1.8 using newdir 2.4.
Stuff marked in bold is what needs to change.
In the file OnFtpNewDir.itcl:
OLD
# get release name
set num [string length $vpath]
set result [string last "/" $vpath $num]
set release [string range $vpath [expr $result + 1] end]
if { $release == "" } { return }
NEW
# get release name
set num [string length $vpath]
set ioresult[string last "/" $vpath $num]
set release [string range $vpath [expr $ioresult + 1] end]
if { $release == "" } { return }
In The File OnFtpDelDir.itcl
OLD
# get release name
set num [string length $vpath] ; incr num -2
set result [string last "/" $vpath $num]
set release [string range $vpath [expr $result + 1] end-1]
if { $release == "" } { return }
NEW
# get release name
set num [string length $vpath] ; incr num -2
set ioresult [string last "/" $vpath $num]
set release [string range $vpath [expr $ioresult + 1] end-1]
if { $release == "" } { return }
NalgeNunc
10-14-2003, 02:24 AM
Something has changed that causes newdir not work work properly.
What exactly do you mean by not working properly?
Seems to work fine here on Win2k.
Edit: Have you changed this in ioFTPD.ini? Worker_Thread_Count = 10 # Number of worker threads
Have phun
bounty
10-14-2003, 05:17 AM
lunatik fix ... isn't offical fix .... and i'm not sure that fix is really needed !! (apply that fix @ your own risks !!)
please newdir users ... let me know if you all have any probs with newdir 2.4 & ioftpd 5.1.8r !!
big thx & have fun
bounty
SomeoneWhoCares_2
10-14-2003, 05:20 AM
no problems with newdir and io 5.1.8 here :eek:
Fireport
10-14-2003, 07:50 AM
i have probs with Site NEW 2.4 and IOFTPD 5.1.8!!
bounty
10-14-2003, 08:23 AM
Originally posted by Fireport
i have probs with Site NEW 2.4 and IOFTPD 5.1.8!!
can you maybe explain more what's your problem ??
bounty
10-14-2003, 08:26 AM
Originally posted by NalgeNunc
heya bounty,
good job with v2.4.
Theres one bug with OnPreStor & OnPreMkd which allows to create banned dirs/files when using Capitals.
Seems u forgot -nocase ;)
Shouldnt it be like that in .itcl ?
if { [string match -nocase $line $dirname] == 1 }
Thanx for your script
Keep it Up
Cheers
ok finaly i have removed the -nocase in these files ... so it's not a bug ;)
but if you need it you are free to add it yourself
for myself i need case sensitive on bans .. it's more precise for what i want to do
have fun
bounty
ddeca
10-16-2003, 05:51 AM
I was just wondering if onSiteWipe shoudnt remove that dir from newdir.log
If so i might have a bug or iam totaly wasted..
OnFtpDelDir works and removes that dir from newdir.log
----EDIT UPDATE ---
I took the arg from OnFtpDelDir and put it in onSiteWipe and now it works :)
You might want to look in to that
----EDIT UPDATE ---
damn it didnt work :(
//DDECA
DaemonEye
10-18-2003, 08:16 PM
remove wipe dir from newdir.log dont work for me, any ideas? :confused:
wipe = EXEC ..\ioA\ioA.exe wipe
wipe = TCL ..\scripts\newdir\OnSiteWipe.itcl
bounty
10-19-2003, 01:45 PM
Originally posted by DaemonEye
remove wipe dir from newdir.log dont work for me, any ideas? :confused:
wipe = EXEC ..\ioA\ioA.exe wipe
wipe = TCL ..\scripts\newdir\OnSiteWipe.itcl
if you wipe subdirs like datedirs 1017 1018 1019 ...etc...
wipe 2.4 don't work
i'm busy with newdir 3.0 this will support wipe for datedirs
but need to reset newdir.log coz the format have changed in v3.0
have fun
bounty
bounty
10-28-2003, 11:43 AM
here we go m8s ;)
the new version of my script is out !!
you can DL it on he 1st post
have fun
bounty
MadCowAss
10-28-2003, 03:37 PM
That's a Major Update !!! Try this tomorrow :D
THX for your work B0unty :)
bounty
10-28-2003, 04:18 PM
sorry for this fast update but i forgot something important
+ deny files to be logged in dupefile.log (in some case like admin dir)
you can DL new version in 1st post
update from 3.0 to 3.0.1
just copy & setup ND_CONFIG.itcl again
just copy all new scripts in /newdir dir
have fun
bounty
jannat
10-29-2003, 10:01 AM
"2- Setup a temp. SITE CMD to run that script 1 time to update your logs"
can u explain this to me ?
want to you mean with a "temp. site cmd"
bounty
10-29-2003, 10:19 AM
Originally posted by jannat
"2- Setup a temp. SITE CMD to run that script 1 time to update your logs"
can u explain this to me ?
want to you mean with a "temp. site cmd"
well you should setup a temporary site cmd = you choose the name of your site cmd yourself.
this name isn't so important coz you'll need to use it 1 time in your live and remove it just after !!
exemple: add under [scripts]
blabla = TCL ..\updatelogs.tcl
then do SITE BLABLA to update logs
then delete blabla = TCL ..\updatelogs.tcl
have fun
bounty
jannat
10-29-2003, 10:26 AM
OK, didn't read you edited things.
did it like you said, he said succesfull, but when i type site new,
he still only says succesfull :-(
I've also added
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)]
in login msg (with the right path) but nothing happens on login
Optixxx
10-30-2003, 03:42 AM
***********************************************
Bounty
nice work,but i really dont like file duping
lots of ppl also have problems with file duping
is ther an option 0/1 for duping/non-duping files?
cheers
jannat
10-30-2003, 04:18 AM
ok, i've checked a few things.
the newdir.log is not updating
also the new.msg (is this one used in newdir 3.x at all ?) is not up-to-date
could there be a prob with the sections ?
are they used like in 2.x ?
bounty
10-30-2003, 04:39 AM
Originally posted by Optixxx
***********************************************
Bounty
nice work,but i really dont like file duping
lots of ppl also have problems with file duping
is ther an option 0/1 for duping/non-duping files?
cheers
yes i'm busy to add disable settings for dupe files/dirs and also for check ban files/dirs
it will be out later today
have fun
bounty
Zer0Racer
10-30-2003, 04:42 AM
Originally posted by Optixxx
***********************************************
Bounty
nice work,but i really dont like file duping
lots of ppl also have problems with file duping
is ther an option 0/1 for duping/non-duping files?
cheers
Very easy. Since newdir script makes it's logs from OnNewFtpDir event you can quickly determine that dupefile.log comes from OnUploadComplete (after every file uploaded).
Solution: Don't add the OnUploadComplete from newdir install txt to ioFTPD.ini
[Events]
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
If you check inside that .itcl you see this comment: # add file to DUPEFILE.LOG
bounty
10-30-2003, 05:30 AM
here we go m8s
sorry for all theses fast updates
DL link & changelog in the 1st post
have fun
bounty
ddeca
10-30-2003, 12:44 PM
Dont know if I am just stupid but i cant make any of these 3.0 version work..
nothing on SITE NEW
nothing in NEWDIR.LOG
//ddeca
bounty
10-30-2003, 01:38 PM
ok m8s i removed the -nocase for banfile & bandir checks coz i needed for my own ;)
since some ppl prefer working with -nocase here is the modif you can make
for files open OnPreStor.itcl
# check banfile.cfg to deny STOR
find line : if { [string match $line $filename] == 1 } {
replace by : if { [string match -nocase $line $filename] == 1 } {
for dirs open OnPreMkd.itcl
# check bandir.cfg to deny MKD
find line : if { [string match $line $dirname] == 1 } {
replace by : if { [string match -nocase $line $dirname] == 1 } {
or just download the new version 3.0.3 ;)
have fun
bounty
bounty
10-30-2003, 01:41 PM
Originally posted by ddeca
Dont know if I am just stupid but i cant make any of these 3.0 version work..
nothing on SITE NEW
nothing in NEWDIR.LOG
//ddeca
hmmm did you read all readme txt files?
are you sure your ftp structure looks like exemple 1 or 2 ?
did you updated the logs to v3.x ?
did you installed all files properly ?
let me know
bounty.
bounty
10-30-2003, 04:49 PM
and once again
sorry for all these updates
but it's needed ;)
DL link & changelog on 1st post
have fun
bounty
schmacko
10-31-2003, 06:39 AM
im guessing ur undupe is diff... is there a way to do a public undupe plz bounty? :)
bounty
10-31-2003, 06:52 AM
Originally posted by schmacko
im guessing ur undupe is diff... is there a way to do a public undupe plz bounty? :)
yes it's in my todo list
it will probably be implemented in next dzsbot rls
bounty
11-02-2003, 07:14 AM
here we go m8s ;)
a new update of newdir script
update from 3.0.3 to 3.0.4:
- just update scripts in /newdir
DL link & changelog on 1st post
have fun
bounty
bounty
11-03-2003, 05:14 AM
here we go m8s
another update for 3.0.x serie ;)
i hope you'll enjoy with this update
update from 3.0.4 to 3.0.5 : read changelog & install ;)
ofcoz DL link & changelog are on the 1st post
have fun
bounty
kraxdaz
11-03-2003, 11:26 AM
hmm you've deleted the
source ../scripts/init.itcl
in all itcl?
how configure it?
bounty
11-03-2003, 11:53 AM
Originally posted by kraxdaz
hmm you've deleted the
source ../scripts/init.itcl
in all itcl?
how configure it?
init.itcl is hardcoded in ioftpd so if you put this file under ../scripts subdir
it will be automatically loaded by ioftpd at startup
have fun
bounty
bounty
11-05-2003, 06:56 PM
here we go with a little update ;)
read changelog and DL link is on 1st post
have fun
bounty
bounty
First of all, congrats 4 yer great script, everyone knows its really kewl :)
I would like to enlighten you about one very special character on this new version NEWDIR 3.0.6
Its just impossible to create dirs (MKD):
[L] MKD test
[L] 421 Timeout (120 seconds): closing control connection.
And look what i got in SystemError.log:
11-10-2003 14:52:42 "..\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_NoRoot": no such variable
while executing
"if { $ND_NoRoot == 1 && $pwd == "/" } {
set ioerror 2
iputs "550 Requested action not taken. MKD not allowed in Root dir."
return
}"
(file "..\scripts\newdir\OnPreMkd.itcl" line 12)
------------------------------------------------------------------
Keep the good work
Cya
Editing:
Well i've tried to remove this line from ioFTPD.ini
mkd = TCL ..\scripts\newdir\OnPreMkd.itcl
and then what i got in SystemError.log:
------------------------------------------------------------------
11-10-2003 15:22:40 "..\scripts\newdir\OnFtpNewDir.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_NOLOG(ND)": no such variable
while executing
"foreach deny $ND_NOLOG(ND) {
if { [string match -nocase $deny $vpath] != 0 } { incr nolognd ; break }
}"
(procedure "onftpnewdir" line 7)
invoked from within
"onftpnewdir"
(file "..\scripts\newdir\OnFtpNewDir.itcl" line 48)
------------------------------------------------------------------
romracer
11-10-2003, 01:13 PM
make sure and fully update all the files when you upgrade to a new version of newdir. the first error is a missing variable in your init.itcl, ND_NoRoot which determines whether you can make dirs in / or not. the second error is another missing variable. did you put init.itcl in the right place?
Originally posted by romracer
make sure and fully update all the files when you upgrade to a new version of newdir. the first error is a missing variable in your init.itcl, ND_NoRoot which determines whether you can make dirs in / or not. the second error is another missing variable. did you put init.itcl in the right place?
Ok:
That was not an upgrade, was a clean install...
init.itcl is exactly the same way as original, just configured..
I follow exactly the instructions on install so i guess the script is in right place...
Editing:
OK, the thing is:
YOU HAVE TO RESTART ioFTPD.exe, not only REHASH
MY FAULT, I TAKE THE BLAME :(
bounty
11-10-2003, 06:39 PM
ok i fixed the typo in the readme.install file
now it's : RESTART your ioFTPD (not rehash) !!!
thx for the typo report
have fun
bounty
How do you undupe files/dirs? If ive deleted something by mistake I cant upload it again becuse then it will be a dupe. Only thing that Ive figure out is to delte the dupe newdirs logs. But then I will get some error like this.
11-11-2003 22:15:18 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
syntax error in expression "(1068585318 - )": unexpected close parenthesis
while executing
"expr ($now - $oldtime)"
(procedure "onsitenew" line 40)
invoked from within
"onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 68)
------------------------------------------------------------------ so that seems like not such a good idea :P
odd: You should have tried SITE UNDUPE.
SITE UNDUPE <filename(s)>
-> support multiple files selection: <01234> or <0-9> or <abcd> or <a-z>
-> "ex.: SITE UNDUPE file.r0<0123>" will undupe .r00 .r01 .r02 .r03 files @ once
-> "ex.: SITE UNDUPE file2<abc>.zip" will undupe file2a.zip file2b.zip file2c.zip files @ once
SITE UNDUPE -d <dirname>
-> "ex.: SITE UNDUPE -d SOMEDIR-RLS" will undupe dir named SOMEDIR-RLS
Note: those examples are extracted from the readme file.
Guardian
11-13-2003, 09:32 AM
site undupe <filename>
site undupe -d <dirname>
... like explained in install instructions :rolleyes:
Your right guys, damn Im sorry for the stupid post.
Pichento
11-14-2003, 02:55 PM
Heya Bounty.
I've been using newdir 2.x for ages and didnt really need to upgrade to 3.x. But i had so spare time and I did this afternoon.
After configuring and customizing it to my taste I discovered that the old "empty lines" bug i seems to be back in 3.x (using 3.0.6).
Hope you fix this soon.
bounty
11-14-2003, 03:07 PM
ok m8 i'll fix it in next rls
i hope i found the problem ;)
have fun
bounty
bounty
11-14-2003, 08:11 PM
here is an update of newdir script
DL link & changelog in 1st post
have fun
bounty
Havent tryed the new one out but Im sure I will like it.
A thought, is it maybe possible to get a undupe options which undupes a hole release includeing all files and dirs inside?
bounty
11-15-2003, 03:56 AM
Originally posted by odd
Havent tryed the new one out but Im sure I will like it.
A thought, is it maybe possible to get a undupe options which undupes a hole release includeing all files and dirs inside?
no it will not be possible
Iam tired of this error now that keeps showing up everytime. I have no clue what it is but im sure its some newbie problem that Ive caused. Is there someone that know what causes this error and what ive could do to fix it. Appreciate your help.
11-16-2003 22:12:54 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
syntax error in expression "(1069017174 - )": unexpected close parenthesis
while executing
"expr ($now - $oldtime)"
(procedure "onsitenew" line 40)
invoked from within
"onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 68)
------------------------------------------------------------------
Oh and I got about the same error msg when ive used ioA wipe once upon a time. But still no clue who is causing this.
ddeca
11-17-2003, 08:28 PM
Just come to think about something...
would be nice if each section could have it's own BANDIR.CFG and BANFILE.CFG
LIKE BAN 2002, 2001, 2000 etc. in /MP3 but not in /DiVX or soo :)
REGARDS Bounty... love your script and the support u give...
//ddeca
bounty
11-18-2003, 04:05 AM
Originally posted by ddeca
Just come to think about something...
would be nice if each section could have it's own BANDIR.CFG and BANFILE.CFG
LIKE BAN 2002, 2001, 2000 etc. in /MP3 but not in /DiVX or soo :)
REGARDS Bounty... love your script and the support u give...
//ddeca
ok it will be added in next release
bandir.cfg & banfile.cfg will be for global sections
to setup a ban(file|dir).cfg for a specified section (ex.: /MP3)
you'll need to create a file called banfile-MP3.cfg or bandir-MP3.cfg and setup them !!
have fun
bounty
PS: new version will come later today
bounty
11-18-2003, 05:42 AM
here we go with a newdir update ;)
DL link & changelog on 1st post
have fun
bounty
romracer
11-18-2003, 11:42 AM
Nice work as always bounty. But you got this release out before I could make my feature request :P I was wondering if it'd be possible to exclude certain paths from dupedir and possibly other restrictions. IE, I have an /archive and I'd like to be able to move from /games into /archive/games without turning off dupedir momentarily. I can't use normal move or rename through flash because they are on separate drives and io does not support this afaik.
ddeca
11-18-2003, 11:44 AM
That was exactly my next request :)
Soi bump this tread to the TOP again...
Damn cant make the new script work
Site doesnt take any thing... just hangs :(
bounty
11-18-2003, 12:17 PM
Originally posted by romracer
Nice work as always bounty. But you got this release out before I could make my feature request :P I was wondering if it'd be possible to exclude certain paths from dupedir and possibly other restrictions. IE, I have an /archive and I'd like to be able to move from /games into /archive/games without turning off dupedir momentarily. I can't use normal move or rename through flash because they are on separate drives and io does not support this afaik.
already done
you can exclude paths mask , dirs masks & file-extension masks from dupedir.log , newdir.log & dupefile.log from init.itcl
look : set ND_NOLOG(ND) , set ND_NOLOG(DIRS) , set ND_NOLOG(FILES)
have fun
bounty
ddeca
11-18-2003, 01:11 PM
First the dupe exlude...
If you upload a DIR to lets say /mp3
then it's logged in DUPEDIR and NEWDIR
Then 2 days later u want to move it move it to /archive
then you cant even if you have set
ND_NOLOG(DIRS) "*/archive/*"
since that file is in DUPEDIR it wont be allowed
What we need is the Dupe check to be disabled on /archive
Hope u understand what i mean ...
And now the new version...
When I install the new version i get this error in systemerror.log
11-18-2003 19:11:49 "..\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "section": no such variable
while executing
"file exists $ND_PATH/bandir-${section}.cfg"
(procedure "check_bandir" line 9)
invoked from within
"check_bandir"
invoked from within
"if { $ND_DISABLE(bandir) == 0 } {
check_bandir
}"
(file "..\scripts\newdir\OnPreMkd.itcl" line 74)
------------------------------------------------------------------
And the transfer hangs..
----EDIT---- got it to work... missed the case sensetive part :)
so forget that second part of this reply
bounty
11-18-2003, 01:58 PM
can't read "section": no such variable
is fixed in next rls ;)
romracer
11-18-2003, 02:06 PM
Yea, my idea was more along the lines of what ddeca was saying. The current exclude options will exclude certain directories from being placed into the dupe log but what we'd like to see is an option for paths in which to completely ignore dupechecks. IE, NO_NODUPE(DIRS) and put in "/archive/*" and then before all other checks it'd check to see if you were in the path and if so it'd let you mkd and stor regardless of other settings. Not sure if my tcl is up to snuff to make the mods myself but perhaps I'll give it a whirl after work.
stLancer_2
11-18-2003, 07:12 PM
Originally posted by ddeca
First the dupe exlude...
If you upload a DIR to lets say /mp3
then it's logged in DUPEDIR and NEWDIR
Then 2 days later u want to move it move it to /archive
then you cant even if you have set
ND_NOLOG(DIRS) "*/archive/*"
since that file is in DUPEDIR it wont be allowed
What we need is the Dupe check to be disabled on /archive
Hope u understand what i mean ...
And now the new version...
When I install the new version i get this error in systemerror.log
11-18-2003 19:11:49 "..\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "section": no such variable
while executing
"file exists $ND_PATH/bandir-${section}.cfg"
(procedure "check_bandir" line 9)
invoked from within
"check_bandir"
invoked from within
"if { $ND_DISABLE(bandir) == 0 } {
check_bandir
}"
(file "..\scripts\newdir\OnPreMkd.itcl" line 74)
------------------------------------------------------------------
And the transfer hangs..
----EDIT---- got it to work... missed the case sensetive part :)
so forget that second part of this reply
my temp fix is add a line in my init.tcl: :D
# setup here your VFS sections (except hidden sections like PRE)
set ND_SECTIONS "bla1 bla2 bla3"
set sections "bla1 bla2 bla3"
and then the 3.1.0 works fine here.
bounty
11-19-2003, 03:57 AM
here we go
DL link & changelog on 1st post like always ;)
have fun
bounty
Zer0Racer
11-19-2003, 04:26 AM
And remember to restart ioFTPD after upgrading newdir (init.itcl). Changes in init.itcl are read at startup.
romracer
11-19-2003, 11:17 PM
Oh nice work as always bounty. Much appreciated. I think I found one bug though. I modified the premkd to print out some debug info so I could figure out exactly what was going on.
[L] /
[L] */archive/*
The first one is the variable pwd the second is the values read from ND_NODUPECHECK. The problem being if I try to do MKD /archive/APPZ/Some.Program from within / I'll get an error saying the dir is duplicate. If I CD to archive first though it works fine. I think what should happen is the script should compare the dir you are trying to make against the variable ND_NODUPECHECK as opposed to pwd. But whether you compare against only the first dir or if you compare the whole MKD statement is another story. Hopefully this makes sense. You can find me on irc if not.
Edit: Also it seems I have to use set ND_NODUPECHECK "archive" for it to work properly with a pwd of /archive. If I set it to */archive/* like the example admin, it doesn't work.
bounty
11-20-2003, 07:15 PM
here is a major update for newdir script
DL link & changelog on 1st post
have fun
bounty
ddeca
11-22-2003, 02:18 PM
Damn nice ... you are the best...
Now i got a suggestion for an update...
Dont know if it is possible but here goes...
In ioZ there is an option to ban genres from the server (we talking MP3 now )...
All it does is receving the file and check what genre and then deletes or send a warn to irc ..
This goes for all files in that release... so files are still beeing uploaded.. ( this is my main goal to stop)
What i want/need is when ioZ checked the first file and finds that it is in banned genre/group it announce it in ioftpd.log
and then i want NEWDIR to add that path (dir) in to a log file like bandir.log
and then on next pre "OnPreStor.itcl" it check if path is in bandir.log and if so it announce to ftp (as dupe announce)
that "This is a banned genre in this release" or something and then rejecting the rest of the files..
This way files that are banned dont take up any BandWidth :)
And make curring awhole lot easyier :)
I know get better currys.. its just i always looking for the best easiest and most functiunal way to sort problems..
and making it MORE FUN and EASY to do stuff...
Then if a dir in releasedir can be made that says banned GENRE going to be nuked within 20 min and 20 min later it renames the name to [Nuked]-releasenamedir that would RULE but not that importent..
//ddeca
bounty
11-22-2003, 04:00 PM
hmm i'm sorry but i don't understand what are you looking about ;)
romracer
11-22-2003, 04:49 PM
I think he wants something like the banned genre feature of ioZS but for it run before the upload as opposed to after. ioZS deletes failed genre files after they've been upped. His idea is to have newdir ban the files before they are ever upped, sort of like dupechecking on filenames works now.
Its a good idea except that you run into various problems, most notably the fact that the genre is stored in the id3 tag which is at the end of the mp3 file. You could theoretically end up banning folders when really only one mp3 in that release was of a banned genre. But maybe its possible, who knows..
ddeca
11-22-2003, 04:52 PM
Hmmm... That's to bad..
Well I guess I have to live without it then :(
THX for the great script anyway..
REGARDS ddeca
---EDiT---
Well thats the idé ...
I if 1 file is banned GENRE then the whole release need to be banned ... cant have incomplete releases on site...
ddeca
11-22-2003, 08:50 PM
Okey here we go again... Another try
1. A dir is being created on the site (newdir loggs it in newdir.log)
2. First file is being sent (ioZ check the genre of it when it is completed then it decides if it should be delete/warn for banned GENRE..
if u set ioZ to warn for banned genres it writes to ioftpd.log WARN: if newdir could catch that dir and put it in a "bandir.log" file
3. Next file is being sent but on PRE STORE, newdir checks the path/dir of it against the "bandir.log" (just like it does for dupes)
If it exist it rejects the file for being a BANNED GENRE and outputs that to client just like it would for a dupe dir or file...
Then all the rest of the files in that dir would be rejected
Wich would save alot of BW for the server instead of recive them and then just delete them... Would also save alot of credz for curry on the OTHER site...
Some extras that it could support also....
1. Create a dir inside (saying BANNED GENRE PLZ delete or get nuked)
2. Nuke dir or remove it completly :)
Hope you understand it now...
Becuase this is the best English i got :o
ddeca
romracer
11-22-2003, 11:22 PM
The problem being that newdir doesn't monitor ioftpd.log. That's all done by the sitebot, generally speaking. But perhaps its possible for dZSbot and newdir to cooperate with each other.
neoxed
11-22-2003, 11:56 PM
ddeca Well your way is kinda *overkill* for this.
A simpler way:
An iTCL script on a timer that will scan the ioFTPD.log file for a banned entry from ioZS. Then using ITCL commands...
[client kill virtualpath "/the/vpath/logged/*"]
[file delete -force [resolve pwd "/the/vpath/logged/"]]
Then if deleting the dir failed (because a script/user is still in it) you could set a timer to wait a second or two and try again.
Basically, it kicks the user, and deletes it. (Now the release is still in the dupelog and they can't recreate it)
But the ultimate solution would be, if ioZS did this for you. (It would much more efficient and less overhead, compared to continually scanning a log file, espically when they are a few mb)
My 2 cents :p
ddeca
11-23-2003, 06:11 AM
My main goal is to stop the files from being uploaded..
And yes the best solution would be for ioZ to do this by its self..
SECOND goal is to delete or nuke...
ddeca
ddeca
11-23-2003, 10:24 AM
Just come to think about something....
Cant NEWDIR check ioftpd.log for WARN: entrys just like it check dupedir.log for dupe entryis..
Or is that to time consuming?
Example of a WARN: entry in ioftpd.log
11-23-2003 12:18:30 WARN: "/mp3/1123/VA-MP3_CDA_2003-RELEASEDUDES" "\002Instrumental\002 is a banned genre. \002VA-MP3_CDA_2003-RELEASEDUDES\002 is a possible 4\002NUKE\002!!!"
ddeca
11-26-2003, 08:10 PM
damn i cant stop make up things to add :D
A site approve addon...
Lets say u put CDS (cd single) in bandir-mp3.cfg
and then you see a release like
Most_Have_This-Best_Single_Ever-CDS-2003-MP3MOFO
Site approve Most_Have_This-Best_Single_Ever-CDS-2003-MP3MOFO
or
!triggerapprove Most_Have_This-Best_Single_Ever-CDS-2003-MP3MOFO
then i guess it will be added approve.cfg and then on premkdir check if in approve.cfg and if, skip the rest of test as dupe and banned
I know Bounty can fix this in about 4-5 min tops :p
//ddeca
Really great work!
With newdir 3.2.0 when an upload is interupted, the file name still gets added to to dupelog & the resume upload attempt is rejected as a dupe.
How can I avoid this?
bounty
12-06-2003, 03:40 AM
Originally posted by lev
Really great work!
With newdir 3.2.0 when an upload is interupted, the file name still gets added to to dupelog & the resume upload attempt is rejected as a dupe.
How can I avoid this?
well in your ioftpd.ini
The order of your OnUploadComplete (in events) is very important
my looks like this:
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = EXEC ..\scripts\ioZS\ioZS.exe Upload
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
if you put newdir line before the zipscript line i think it will add the file in the dupe log and will block it next time you try to resume
i'll see if i can add a sanity check with OnUploadError trigger
have fun
bounty
Mine looks like this:
OnUploadComplete = EXEC pSio.exe UD
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
OnUploadError = EXEC pSio.exe UD
See anything wrong here? Thanks for the reply =)
is it possible to get newdir to work with smal chapters when preing? Im not sure if its ioA or Newdir thats causeing this. Iam useing newest version(ioA 1.0.2, NewDir 3.2.0) of both scripts. Or is it case sensative? Im not sure you guys tell me.
Notice the site pre apps/APPS
mkd dir1
257 "dir1" created.
site pre apps dir1
200--[Pre]-----------------------------------------------------------------------
200- dir1
200- succesfully pred to
200- /APPS/dir1
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- ---------------------------------------------------------------------------
200-
200- Use "SITE NEW <num> <section>" to show the last <num> Dirs. in <section>
200 Command successful.
mkd dir2
257 "dir2" created.
site pre APPS dir2
200--[Pre]-----------------------------------------------------------------------
200- dir2
200- succesfully pred to
200- /APPS/dir2
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 03s ioFTPD APPS dir2
200- ---------------------------------------------------------------------------
200-
200- Use "SITE NEW <num> <section>" to show the last <num> Dirs. in <section>
200 Command successful.
Ive get this in the systemerror.log when I use SITE PRE apps dir1
12-09-2003 22:25:57 "..\scripts\newdir\newdir\OnSitePre.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "section": no such variable
while executing
"puts $fileid "$now $user $section $vpath $release""
(procedure "onsitepre" line 24)
invoked from within
"onsitepre"
(file "..\scripts\newdir\newdir\OnSitePre.itcl" line 34)
------------------------------------------------------------------
bounty
12-09-2003, 06:03 PM
hmm yeps i forgot to add '-nocase' in that 'string match'
open in an editor your OnSitePre.itcl
look for line:
if { [string match [lindex [split $tmploop :] 0] [lindex $args 0]] == 1 }
and replace by:
if { [string match -nocase [lindex [split $tmploop :] 0] [lindex $args 0]] == 1 }
normally it should fix the problem
it will be fixed in next rls. thx for the report
have fun
bounty
Working good but that you already knew. Thanks :)
EDIT: For ppl that are as stupied as me. Dont forgett to add { in the end of the line
if { [string match -nocase [lindex [split $tmploop :] 0] [lindex $args 0]] == 1 } {
bounty
12-10-2003, 04:11 AM
Originally posted by odd
Working good but that you already knew. Thanks :)
eheheh ;) good to know
have fun
bounty
bounty
12-10-2003, 04:43 AM
after more than 220 download here is a little update for NEWDIR users ;)
DL link & changelog are on 1st post
have fun
bounty
There is something that is kinda strange. Sometimes an file doesnt get added to the "SITE NEW".
Look at this(sorry for the big thread but it will show my point)
Notice that big/small letters doesnt make any sens becuase sometimes it works and another time it doesnt.
Ive added 6 files. the first files(1 and 2) is looking good in the newdir but then take a look at te rest of the dirs(3,4,5 and 6) all of them added in xvid sometimes with small letters and other time with BIG letters. Well look at it carefully and you will notice. Dunno if its a known bug or not but here it is documented.
EDIT: same in 3.2.1
mkd 1
257 "1" created.
site pre mp3 1
200--[Pre]-----------------------------------------------------------------------
200- 1
200- succesfully pred to
200- /MP3/1
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 02s ioFTPD MP3 1
200- ---------------------------------------------------------------------------
200-
200 Command successful.
mkd 2
257 "2" created.
site pre MP3 2
200--[Pre]-----------------------------------------------------------------------
200- 2
200- succesfully pred to
200- /MP3/2
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 02s ioFTPD MP3 2
200- [02] 00m 15s ioFTPD MP3 1
200- ---------------------------------------------------------------------------
200-
200 Command successful.
mkd 3
257 "3" created.
site pre xvid 3
200--[Pre]-----------------------------------------------------------------------
200- 3
200- succesfully pred to
200- /XVID/3
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 16s ioFTPD MP3 2
200- [02] 00m 29s ioFTPD MP3 1
200- ---------------------------------------------------------------------------
200-
200 Command successful.
mkd 4
257 "4" created.
site pre xvid 4
200--[Pre]-----------------------------------------------------------------------
200- 4
200- succesfully pred to
200- /XVID/4
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 33s ioFTPD MP3 2
200- [02] 00m 46s ioFTPD MP3 1
200- ---------------------------------------------------------------------------
200 Command successful.
mkd 5
257 "5" created.
site pre XVID 5
200--[Pre]-----------------------------------------------------------------------
200- 5
200- succesfully pred to
200- /XVID/5
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 02s ioFTPD XVID 5
200- [02] 00m 51s ioFTPD MP3 2
200- [03] 01m 04s ioFTPD MP3 1
200- ---------------------------------------------------------------------------
200 Command successful.
mkd 6
257 "6" created.
site pre xvid 6
200--[Pre]-----------------------------------------------------------------------
200- 6
200- succesfully pred to
200- /XVID/6
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.0-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 02s ioFTPD XVID 6
200- [02] 00m 17s ioFTPD XVID 5
200- [03] 01m 06s ioFTPD MP3 2
200- [04] 01m 19s ioFTPD MP3 1
200- ---------------------------------------------------------------------------
200 Command successful.
bounty
12-10-2003, 10:49 AM
if someone else have the same problem ... please report it
odd please 1st update newdir correctly
200- ---------------------------------------------------------NEWDIR V3.2.0-----
it seems some files was not updated correctly
i'll try to reproduce your problem here
have fun
bounty
bounty
12-10-2003, 11:19 AM
ok i tried here to reproduce your problem
but all was working fine
i had no problems to pre lots of dirs in differents sections
so it's probably a problem related with your config
have fun
bounty
Maybe ive config something wrong but this is actully the first time I dont get any erros in the systemerror.log :)
Yeah about that new dir 3.2.0 thing. I notice the problem in 3.2.0 and didnt see the new update until ive post my bugg thingi. After posted I downloaded 3.2.1 and tested and same thing appeard so I just edit my thread to say its the same in version 3.2.1.
But here is a new exemple.
mkd 1
257 "1" created.
mkd 2
257 "2" created.
mkd 3
257 "3" created.
mkd 4
257 "4" created.
mkd 5
257 "5" created.
mkd 6
257 "6" created.
site pre xvid 1
200--[Pre]-----------------------------------------------------------------------
200- 1
200- succesfully pred to
200- /XVID/1
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.1-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 04s ioFTPD XVID 1
200- ---------------------------------------------------------------------------
200 Command successful.
site pre XVID 2
200--[Pre]-----------------------------------------------------------------------
200- 2
200- succesfully pred to
200- /XVID/2
200------------------------------------------------------------------------[ioA]-
200 Command successful.
site new
200- ---------------------------------------------------------NEWDIR V3.2.1-----
200- ## | Age | Owner | Section | Directory Name
200- ----+-------+---------+---------+------------------------------------------
200- [01] 00m 16s ioFTPD XVID 1
200- ---------------------------------------------------------------------------
200 Command successful.
But its totaly random sometimes. Right after this happend I try and do the same on 6 files pred to xvid and all worked. So its pretty random, so i guess it could be some missconfig? dunno.
bounty
12-11-2003, 11:04 AM
hi m8s i know lots of users are waiting the nfourl parser working on PRE releases
i just want to tell you ... i'm working on it ;)
so next newdir release will support IMDB / ALLOCINE / URLS announce in channel on PRE
have fun
bounty
bounty
12-16-2003, 02:10 PM
here is a new update for newdir ;)
DL link & changelog on 1st post
have fun with this new release
bounty
Cant really find anywhere how to upgrade from 3.2.1 to 3.3.0.
bounty
12-16-2003, 08:06 PM
here is a fast new update for newdir ;)
DL link & changelog on 1st post
have fun with this new release
bounty
Pichento
12-16-2003, 10:12 PM
Neat work bounty.
But there's a few bugs.
The symlinks created for pre and last race are missing a "/" section/ release.
Also last race should problably have some exclusions. Sample will also be tagged as last raced release :)
bounty
12-17-2003, 03:06 AM
Originally posted by Pichento
Neat work bounty.
But there's a few bugs.
The symlinks created for pre and last race are missing a "/" section/ release.
Also last race should problably have some exclusions. Sample will also be tagged as last raced release :)
few bugs are probably in your own config .... !!
if you explain me more your problem ... i maybe can tell you where you are wrong ... coz here it work perfect
have fun
bounty
bounty
12-17-2003, 09:35 AM
here is a fast new update of newdir with some bugs fix ;)
DL link & changelog on 1st post
have fun with this new release
bounty
bounty
12-17-2003, 01:35 PM
another fast new update of newdir (sorry)
DL link & changelog on 1st post
have fun
bounty
bounty
12-18-2003, 03:57 PM
another fast new update of newdir (sorry)
DL link & changelog on 1st post
have fun
bounty
12-19-2003 13:18:00 "..\scripts\newdir\newdir\OnSitePre.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
no files matched glob pattern "*.nfo"
while executing
"glob -directory $ppath2 *.nfo"
(procedure "onsitepre" line 37)
invoked from within
"onsitepre"
(file "..\scripts\newdir\newdir\OnSitePre.itcl" line 111)
------------------------------------------------------------------
Dunno what ive doing wrong but ive get that error Useing 3.4.3 and another thing that is probably related. When preing something the rls gets pred to the specified dir and it ends up in site new cmd. But It looks like the dir of the rls dosent get added in dupe-dir-log. Becuase I can still upload same dir name of the rls and it will be created when it should be denied because its a dupe.
If I upload a dir to any dir except the _pre\area everything works fine. Gets added to dir-dupe.log
bounty
12-19-2003, 07:54 AM
Originally posted by odd
12-19-2003 13:18:00 "..\scripts\newdir\newdir\OnSitePre.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
no files matched glob pattern "*.nfo"
while executing
"glob -directory $ppath2 *.nfo"
(procedure "onsitepre" line 37)
invoked from within
"onsitepre"
(file "..\scripts\newdir\newdir\OnSitePre.itcl" line 111)
------------------------------------------------------------------
Dunno what ive doing wrong but ive get that error Useing 3.4.3 and another thing that is probably related.
well this error come when you pre a dir w/o nfo inside
it's my fault ;) i need to add a checker there when i prepare my variables for nfourl ;)
When preing something the rls gets pred to the specified dir and it ends up in site new cmd. But It looks like the dir of the rls dosent get added in dupe-dir-log. Becuase I can still upload same dir name of the rls and it will be created when it should be denied because its a dupe.
if you want dirs/files in predir to be logged in dupedir.log & dupefile.log
you should remove the */_pre/* path from: ND_NOLOG(DIRS) & ND_NOLOG(FILES) in init.itcl
i'll fix the 1st probs soon ;)
thx for the report
bounty
bounty
12-19-2003, 08:11 AM
another fast new update of newdir with a bug fix ;) (thx odd for the report)
DL link & changelog on 1st post
have fun
bounty
12-19-2003 14:55:50 "..\scripts\newdir\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "../scripts/newdir/bandir.cfg": no such file or directory
while executing
"open $ND_PATH/bandir.cfg r"
(procedure "check_bandir" line 3)
invoked from within
"check_bandir $section"
invoked from within
"if { $ND_DISABLE(bandir) == 0 } {
set section "none"
foreach temploop $ND_SECTIONS {
if { [string match */$temploop/* $pwd] == 1 } { s
Iam getting this on the newest version now, just before Iam gona upload anything.
bounty
12-19-2003, 11:11 AM
Originally posted by odd
12-19-2003 14:55:50 "..\scripts\newdir\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "../scripts/newdir/bandir.cfg": no such file or directory
while executing
"open $ND_PATH/bandir.cfg r"
(procedure "check_bandir" line 3)
invoked from within
"check_bandir $section"
invoked from within
"if { $ND_DISABLE(bandir) == 0 } {
set section "none"
foreach temploop $ND_SECTIONS {
if { [string match */$temploop/* $pwd] == 1 } { s
Iam getting this on the newest version now, just before Iam gona upload anything.
looks like a bad config on your side ;)
Yeah it was a bad config just forgot to add something.
well this error come when you pre a dir w/o nfo inside
it's my fault i need to add a checker there when i prepare my variables for nfourl
A Question.
Ive get this thing now. when I pre.
200-.nfo not found on pre
Its nothing wrong with anything its working perfect I think, but I was just courius what it mean because there is a .nfo there when I pre so why is it saying nfo not found?.
bounty
12-19-2003, 02:16 PM
Originally posted by odd
Yeah it was a bad config just forgot to add something.
A Question.
Ive get this thing now. when I pre.
200-.nfo not found on pre
Its nothing wrong with anything its working perfect I think, but I was just courius what it mean because there is a .nfo there when I pre so why is it saying nfo not found?.
looks like a bad config on your side again :D
i just tested when an nfo is inside the dir it don't announce 200-.nfo not found on pre
bounty
12-19-2003, 04:48 PM
another fast new update of newdir ;)
DL link & changelog on 1st post
have fun
bounty
i have a problem with this script i confed everything after reading
readme, but i got always that error
12-20-2003 07:12:16 "..\scripts\newdir\OnFtpNewDir.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
while executing
"vfs chattr "$p_root/Last_race_($section)_$release" 1 "$pwd$release""
(procedure "onftpnewdir" line 42)
invoked from within
"onftpnewdir"
(file "..\scripts\newdir\OnFtpNewDir.itcl" line 58)
the dir is created but its not linked :/
thx for help
bounty
12-20-2003, 04:25 AM
Originally posted by bong
i have a problem with this script i confed everything after reading
readme, but i got always that error
12-20-2003 07:12:16 "..\scripts\newdir\OnFtpNewDir.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
while executing
"vfs chattr "$p_root/Last_race_($section)_$release" 1 "$pwd$release""
(procedure "onftpnewdir" line 42)
invoked from within
"onftpnewdir"
(file "..\scripts\newdir\OnFtpNewDir.itcl" line 58)
the dir is created but its not linked :/
thx for help
witch version of ioftpd are you using ??
ioFTPD 5.2.*
dZSbot 1.05
Eggdrop 1.6.13
ioA 1.0.3+
bounty
12-20-2003, 09:45 PM
Originally posted by bong
ioFTPD 5.2.*
dZSbot 1.05
Eggdrop 1.6.13
ioA 1.0.3+
retry with ioftpd 5.3.*
kraxdaz
12-26-2003, 09:32 AM
Is there an option to desactive "Last_*_(section)_rlz" Symlinks?
Originally posted by kraxdaz
Is there an option to desactive "Last_*_(section)_rlz" Symlinks?
Have you tried to disable race/pre symlinks in init.itcl ?
BTW
Has anyone tried 5.4.3r with newdir? I get nothing when uploading in site new. Nothing in the error logs and It logs all files in dupefile.log but it doesnt log anything in the dupedir.log and newdir.log.
kraxdaz
12-26-2003, 11:36 AM
thx odd
have u correctly update your ioftpd.ini?
make sure you'd replace OnFtpNewDir = by OnNewDir =
and the others:
;OnResume =
;OnUpload =
;OnNewDir =
;OnDelDir =
;OnLogIn =
bye
Missed to update OnNewDir and OnDelDir.
thanks kraxdaz :D
freak007
12-27-2003, 05:12 AM
ok sorry for my post it was my failure
bounty
12-27-2003, 07:30 AM
Originally posted by freak007
ok sorry for my post it was my failure
:D like lots of ppl
bounty
01-01-2004, 07:45 PM
after 180 downloads here is a new little update ;)
DL link & changelog on the 1st post ;) as always
have fun
bounty
SomeoneWhoCares_2
01-02-2004, 04:16 PM
thx for the nice scripts, btw isnt OnSitePre.itcl supposed to log to dupedir.log as well? :)
for now i just added
set fileid [open $ND_IOLOG/dupedir.log a]
puts $fileid "$now $user $release"
close $fileid
;)
bounty
01-02-2004, 09:01 PM
Originally posted by SomeoneWhoCares
thx for the nice scripts, btw isnt OnSitePre.itcl supposed to log to dupedir.log as well? :)
for now i just added
set fileid [open $ND_IOLOG/dupedir.log a]
puts $fileid "$now $user $release"
close $fileid
;)
hmm it was not supposed to be logged in dupedir on site pre cmd
but i'll think to add it in next rls ;)
thx for your idea ;)
have fun
bounty
I add this setting to generate output in stat.msg:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 %[$section])]
.. but this line failed :(
if i use this set without the cookie:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 test)]
... its ok
Can i use ioFTPD cookie %[$section] in newdir output line ?Or, how can i use this cookie in newdir output line ?
Thanks...
bounty
01-03-2004, 06:00 AM
Originally posted by ds-
I add this setting to generate output in stat.msg:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 %[$section])]
.. but this line failed :(
Can i use ioFTPD cookie %[$section] in newdir output line ?Or, how can i use this cookie in newdir output line ?
Thanks...
hmmm i don't understand much why do you want use that cookie in stat.msg
i really dunno nothing about this cookie sorry
bounty
DR. GiGa BYTe
01-05-2004, 01:24 PM
Hi,
i had i little prob with version 3.4.6
the log file tells me
------------------------------------------------------------------
01-05-2004 19:15:55 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_DISABLE(cache)": no such element in array
while executing
"if { $ND_DISABLE(cache) == 0 } { iorefresh }
"
(file "..\scripts\newdir\OnPreList.itcl" line 13)
------------------------------------------------------------------
but in the init.itcl the var was set correctly ?!?
so i added the line (set ND_DISABLE(cache) 0) to OnPreList.itcl.
is it a misconfiguration of me? or has anyone else this prob, too?
jakssdsfs
01-07-2004, 09:50 AM
maybe I have something strange in my ioftpd...
but I updated to 3.4.6 of newdir
[15:48:11] <Bot> -Bot- [NEWDIR] + Latest 10 releases for section: all
[15:48:12] <Bot> ---------------------------------------------------------------------------
[15:48:13] <Bot> [01] 1d 04h owner DVD-R
[15:48:14] <Bot> [02] 1d 14h owner Tv
[15:48:16] <Bot> [03] 1d 22h owner Tv
[15:48:18] <Bot> [04] 2d 02h owner Tv
[15:48:20] <Bot> [05] 2d 03h owner Tv
and so on....
it don't tell me the release name, but if I look in /logs/newdir.txt there the release names are....
and DR. GiGa BYTe I got also that problem in systemError.log...exactly the same...
any tips how I fix my little problem? :)
DR. GiGa BYTe
I dont get anything in my errorlog.
Still wonderig what this new feature(Directory Cache, onprelist) does? I have no idea but its enable.
alturismo
01-08-2004, 03:37 AM
i also have some errors in sys error log
only occurs on loaded server
the refresh fct is to see filesizes during uploads cause due
caching in io they all stay 0 byte till complete, and with refresh
u should see the actual filesize
[sorry 4 my english]
i don't know reason why my ioftpd failed today >> i started ioftpd again, but the newdir script failed :-/
SystemError.log
01-11-2004 01:28:32 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_NOLOG(FILES)": no such variable
while executing
"foreach deny $ND_NOLOG(FILES) {
if { [string match -nocase $deny $vpath] != 0 } { return }
}"
(procedure "write_dupefilelog" line 5)
invoked from within
"write_dupefilelog"
invoked from within
"if { $ND_DISABLE(dupefile) == 0 } {
write_dupefilelog
}
"
(file "..\scripts\newdir\OnUplo01-11-2004 01:29:42 "c:\ioFTPD\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_NoRoot": no such variable
while executing
"if { $ND_NoRoot == 1 && $pwd == "/" } {
set ioerror 2
iputs "550 Requested action not taken. MKD not allowed in Root dir."
return
}"
(file "c:\ioFTPD\scripts\newdir\OnPreMkd.itcl" line 11)
------------------------------------------------------------------
i also tried delete the log files from ..ioftpd/logs [dupedir.log, dupefile.log and newdir.log], but any result - the log files no create :-/
**
i cannot create any MKD in dirs on ftp > failed
but if i disabled in ioftpd the newdir [PRE] [POST] commands, it's MKD ok
**
thx for help
TigerWutz
01-11-2004, 08:36 AM
hi,
i will setup the script to display all created dir. was made on ftpd.
can someone help me?
DR. GiGa BYTe
01-11-2004, 09:09 AM
Originally posted by TigerWutz
hi,
i will setup the script to display all created dir. was made on ftpd.
can someone help me?
Look at your init.itcl...
-----
# setup here the paths masks (or dirs masks) you don't want to be logged in newdir.log
set ND_NOLOG(ND) "bla bla bla"
-----
if you don't want to except any dirs just set ND_NOLOG(ND) to ""
Please correct me if i'm wrong...
cu
DR.GB
jakssdsfs
01-11-2004, 12:04 PM
I don't get it to log new dirs in logs/newdir.log
there is something strange with my ioBanana...
and everytime I write !sitenew the ioBanana.exe crashes ;(
I have checked all files and error-logs nothing strange what I can see, anyone got ideas?
TigerWutz
01-11-2004, 12:09 PM
no, i make a dir (test) and upload a (.bmp). but in site new is nothing!!!
what can i do?
bounty
01-11-2004, 12:55 PM
Originally posted by jakssdsfs
I don't get it to log new dirs in logs/newdir.log
there is something strange with my ioBanana...
and everytime I write !sitenew the ioBanana.exe crashes ;(
I have checked all files and error-logs nothing strange what I can see, anyone got ideas?
this newdir script don't work with ioBanana
site new in latest newdir and iobanana works here, even !new on sitechan :)
just disable/comment iob's site new cmds in ioftpd.ini and install newdir proper
jakssdsfs
01-11-2004, 04:52 PM
okay I will try that
bounty
01-11-2004, 05:15 PM
hi m8s
here is a new update ;)
DL link & changelog on 1st post
have fun
bounty
Good work dude! :)
Been wating for this + added write dupedir.log in OnSitePre.itcl script (site pre cmd) so you deserv this one :banana:
jakssdsfs
01-12-2004, 04:33 PM
Originally posted by zpr
just disable/comment iob's site new cmds in ioftpd.ini and install newdir proper
new = TCL ..\scripts\newdir\OnSiteNew.itcl
;new = EXEC ..\scripts\ioBanana.exe sitenew
so you mean? or?...
but it didn't help...
all I get is...
<Bot> Use "SITE NEW <num> <section>" to show the last <num> Dirs. in <section>
<Bot> ---------------------------------------------------------NEWDIR V3.4.7-----
<Bot> ## | Age | Owner | Section | Directory Name
<Bot> ----+-------+---------+---------+------------------------------------------
<Bot> [01] 8d 14h owner DVD-R
<Bot> ---------------------------------------------------------------------------
<Bot>
<Bot> Use "SITE NEW <num> <section>" to show the last <num> Dirs. in <section>
who can I fix that...
and it's not updateding newdir.log and that's where newdir script is getting info from...
when I create new dir it come to current_dirs.log
like this:
"/DVD-R/test"
but it search for the dir in newdir.log.....why isn't the info sent to newdir.log then?...
anyone can help me...????
yup:
new = TCL ..\scripts\newdir\OnSiteNew.itcl
;new = EXEC ..\scripts\ioBanana.exe sitenew
works for me
try to uninstall iob and check on clean ioftpd + newdir if script is working.
jakssdsfs
01-13-2004, 08:09 PM
hmm, well when the next update comes I will try it, or when I get time ;)
mr_F_2
01-19-2004, 11:41 PM
nice, need this to get my box up and going :) great work
bounty
01-20-2004, 08:13 AM
hi m8s
here is a new update
DL link & changelog on 1st post
have fun
bounty
MaZza_Dj
01-21-2004, 04:49 AM
Excuse me,
this is one bug or one my error on setup?
01-21-2004 10:35:44 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
while executing
"global path"
(procedure "iorefresh" line 2)
invoked from within
"iorefresh "
invoked from within
"if { $ND_DISABLE(cache) == 0 } { iorefresh }
"
(file "..\scripts\newdir\OnPreList.itcl" line 13)
------------------------------------------------------------------
01-21-2004 10:35:51 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
i have a lot of this mess all from OnPreList.itcl
MaZza_Dj
01-22-2004, 08:48 AM
and now i have this error:
[14.45.27] site pre ARCHIVE /PRE/GROPU1/<name_release>/
[14.45.27] 200-.nfo not found on pre
[14.45.27] 200 Command successful.
but is one normal MP3 release with .sfv and .nfo
8°((((
why ever all this problem with one new command installed?
bounty
01-26-2004, 05:19 PM
hi m8s
here is a new update
DL link & changelog on 1st post
have fun
bounty
MaZza_Dj
02-02-2004, 06:48 PM
excuse me bounty i have this mess in error log:
02-02-2004 19:58:00 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
expected boolean value but got ""
while executing
"if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 || [string match -nocase $ndsection "all"] == 1 } {
iputs " \[[format %02d $cnt]\] ..."
(procedure "nd_onsitenew" line 53)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------02-02-2004 19:58:04 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
expected boolean value but got ""
while executing
"if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 || [string match -nocase $ndsection "all"] == 1 } {
iputs " \[[format %02d $cnt]\] ..."
(procedure "nd_onsitenew" line 53)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------02-02-2004 19:58:06 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
expected boolean value but got ""
while executing
"if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 || [string match -nocase $ndsection "all"] == 1 } {
iputs " \[[format %02d $cnt]\] ..."
(procedure "nd_onsitenew" line 53)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------02-03-2004 00:35:33 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "../logs/newdir.log": no such file or directory
while executing
"open $ND_IOLOG/newdir.log r"
(procedure "nd_onsitenew" line 29)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------------------------------------
02-03-2004 00:35:54 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
what is the problem? one my config?
bobby89
02-08-2004, 08:23 PM
:D
hycks
02-17-2004, 11:47 AM
Originally posted by MaZza_Dj
excuse me bounty i have this mess in error log:
02-02-2004 19:58:00 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
expected boolean value but got ""
while executing
"if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 || [string match -nocase $ndsection "all"] == 1 } {
iputs " \[[format %02d $cnt]\] ..."
(procedure "nd_onsitenew" line 53)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------02-02-2004 19:58:04 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
expected boolean value but got ""
while executing
"if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 || [string match -nocase $ndsection "all"] == 1 } {
iputs " \[[format %02d $cnt]\] ..."
(procedure "nd_onsitenew" line 53)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------02-02-2004 19:58:06 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
expected boolean value but got ""
while executing
"if { [string match -nocase $ndsection [lindex $tmpline 2]] == 1 || [string match -nocase $ndsection "all"] == 1 } {
iputs " \[[format %02d $cnt]\] ..."
(procedure "nd_onsitenew" line 53)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------02-03-2004 00:35:33 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "../logs/newdir.log": no such file or directory
while executing
"open $ND_IOLOG/newdir.log r"
(procedure "nd_onsitenew" line 29)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------------------------------------
02-03-2004 00:35:54 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
what is the problem? one my config?
i have the same problem :
02-17-2004 08:30:04 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
syntax error in expression "(1077035404 - 1077026767)": character not legal in expressions
while executing
"expr ($now - $oldtime)"
(procedure "nd_onsitenew" line 41)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------------------------------------
02-17-2004 08:30:50 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
syntax error in expression "(1077035450 - 1077026767)": character not legal in expressions
while executing
"expr ($now - $oldtime)"
(procedure "nd_onsitenew" line 41)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------------------------------------
02-17-2004 08:30:50 "..\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
syntax error in expression "(1077035450 - 1077026767)": character not legal in expressions
while executing
"expr ($now - $oldtime)"
(procedure "nd_onsitenew" line 41)
invoked from within
"nd_onsitenew"
(file "..\scripts\newdir\OnSiteNew.itcl" line 70)
------------------------------------------------------------------
is there a solution, and if yes, what is ?
thx =)
I use the last version of newdir 3.5
bounty
02-18-2004, 07:54 AM
there are always a solution
do you use latest ioftpd reged with latest tcl dll ?
are you sure the config is good ?
respect the case sensitivity of your sections
well m8s it's hard to help w/o basic infos
copy/past error log can help a little but more infos are needed
MaZza_Dj: it seems your problem come from the tcl dll
hycks: you should check your newdir.log to see if you don't find any character not legal
(syntax error in expression "(1077035404 - 1077026767)": character not legal in expressions)
sorry m8s can't help much
you should find by yourself or get a good scripter in your staff
have fun
bounty
Is there an easy way to add dir-names in the dupe-dirlog without uploading anything?
I got some dirs I want to be added to dupedirlog, these dirs wasent uploaded when newdir was installed.
killer
03-28-2004, 03:09 PM
Working perfect but sometime i seen in SystemError.log
------------------------------------------------------------------
03-28-2004 16:20:15 "newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
while executing
"vfs flush $path"
(procedure "iorefresh" line 3)
invoked from within
"iorefresh "
invoked from within
"if { $ND_DISABLE(cache) == 0 } { iorefresh }"
(file "newdir\OnPreList.itcl" line 13)
------------------------------------------------------------------
killer: you might be using an old version of ioFTPD that doesn't support 'vfs flush'.
killer
03-28-2004, 03:49 PM
I using ioFTPD 5.8.4 version & newdir 3.5.0...
Mouton
03-28-2004, 04:49 PM
I get that weird error too sometimes in my nuke itcl script. Sometimes, vfs flush of vfs read just return an empty error.
Probably a bug somewhere in dark's vfs itcl implementation.
If anyone feel like trying to reproduce it and post in bugs forum, feel free.
bounty
03-29-2004, 06:37 AM
Originally posted by Mouton
I get that weird error too sometimes in my nuke itcl script. Sometimes, vfs flush of vfs read just return an empty error.
Probably a bug somewhere in dark's vfs itcl implementation.
If anyone feel like trying to reproduce it and post in bugs forum, feel free.
i have the same probs sometimes but w/o any reason and i can't reproduce it ...
bounty
Got a suggestion that could be cool.
By useing .ioFTPD.MESSAGE files in your sections(dir1 dir2 dir3) dirs add cookies for newdir to support latest output in its section dir. So when u enter dir1 on your ftp newdir will show like top5 or top10 uploaded dirs in section dir1.
Instead of typing "site new" everytime u logg in to the server u will only have to enter dir and look in your status(ffxp) to see latest dirs in this section. This would tho require ppl to do their own ioFTPD.MESSAGE.
What do u think?
Zer0Racer
04-08-2004, 02:05 PM
Originally posted by odd
Got a suggestion that could be cool.
By useing .ioFTPD.MESSAGE files in your sections(dir1 dir2 dir3) dirs add cookies for newdir to support latest output in its section dir. So when u enter dir1 on your ftp newdir will show like top5 or top10 uploaded dirs in section dir1.
Instead of typing "site new" everytime u logg in to the server u will only have to enter dir and look in your status(ffxp) to see latest dirs in this section. This would tho require ppl to do their own ioFTPD.MESSAGE.
What do u think?
This has been possible for a very long time. Just put your own .ioFTPD.message in whatever section put something like this in the message file to show 10 latest uploads in mp3 section:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 mp3)]
If the output shows without ftp reply code use a third parameter ie:
%[execute(TCL ..\scripts\newdir\OnSiteNew.itcl)(10 mp3)(250-)]
Use 250- and not only 250 as it would limit output to ~1 line per sec. The dash means line part of multiline output.
test123
04-09-2004, 07:18 AM
hi, i have a prob with latest race/pre symlinks, when i enable
set ND_DISABLE(symlink) 0 ; # latest race/pre symlinks in root
in the init.itcl.
After this come by every MKD (DIR)
550 /test/test-dir: Action blocked by external script..
when I disable the latest link then its all okay and i can create dirs...but without the symlink^^
bounty
04-09-2004, 03:59 PM
Action blocked by external script.. msg don't come from newdir
neoxed
04-09-2004, 04:34 PM
The "Action blocked by external script." is a default ioFTPD error message. Usually the only time you it is when a script crashes on a pre event. You may want to check SystemError.log...
test123
04-10-2004, 12:53 PM
okay, thx, i check the error msg..
Got problem with banfile.cfg and bandir.cfg.
I want to setup these cfg:s to only check in 4 dirs(SECTIONS ON FTP) so rest of my dirs will not be checked by banfile and bandir.cfg.
So I make 4 banfile's and 4 badir's, rename them to banfile-dir1.cfg, bandir-dir1.cfg, banfile-dir2.cfg etc (cAsE-SensEtiVe I know). But it hangs when I upload something now in a dir without banfile and bandir check.
What could be wrong?
lo guy's
got some weird problem and cant find any solution for it on the forum
okay here it is ,
when i make new dir like this : release.complete-grp its announced by dzsbot but when i make : release.COMPLETE-grp its not being announced by dzsbot
looked eveywhere to find a solution even error.log is clean
Thanx In Advance
bounty
04-17-2004, 05:53 PM
Originally posted by Sjon
lo guy's
got some weird problem and cant find any solution for it on the forum
okay here it is ,
when i make new dir like this : release.complete-grp its announced by dzsbot but when i make : release.COMPLETE-grp its not being announced by dzsbot
looked eveywhere to find a solution even error.log is clean
Thanx In Advance
it's caused by denypost *COMPLETE*
you should set the denypost for your needs
have fun
bounty
oooo stupid me !
thanx bounty
its working fine now Thanx for the solution ;)
luke2k4
04-23-2004, 09:51 AM
hey bounty n1 script, but i get this fuc*i* error..
04-23-2004 16:44:42 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_DISABLE(cache)": no such variable
while executing
"if { $ND_DISABLE(cache) == 0 } { iorefresh }
"
(file "..\scripts\newdir\OnPreList.itcl" line 13)
i saw this in this thread but without any solutions... i cant logon anymore and the ftp stops with the listing, my io version should be new enough ;o(
it also doesnt log to newdir.txt , dupedir.txt or dupefile.txt they are only 0byte files ;o(
if there is no chance, what would be a possible alternative to see latest dirs ?!
greetings
bounty
04-23-2004, 06:23 PM
Originally posted by luke2k4
hey bounty n1 script, but i get this fuc*i* error..
04-23-2004 16:44:42 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_DISABLE(cache)": no such variable
while executing
"if { $ND_DISABLE(cache) == 0 } { iorefresh }
"
(file "..\scripts\newdir\OnPreList.itcl" line 13)
i saw this in this thread but without any solutions... i cant logon anymore and the ftp stops with the listing, my io version should be new enough ;o(
it also doesnt log to newdir.txt , dupedir.txt or dupefile.txt they are only 0byte files ;o(
if there is no chance, what would be a possible alternative to see latest dirs ?!
greetings
is the init.itcl from newdir is correctly installed ?
you have some alternatives like stormnew or ioCMDnew or ioBanana
geting a stange error, no updates apart from latest pzs, all of a sudden latest race symlinks flooding root dir, i belive this is the error log
--------------------------- ErrorInfo ----------------------------
can't read "dirname": no such variable
while executing
"string match -nocase $temploop $pwd$dirname"
("foreach" body line 2)
invoked from within
"foreach temploop $ND_NODUPECHECK {
if { [string match -nocase $temploop $pwd$dirname] == 1 } { return }
}"
(file "..\scripts\newdir\OnPreMkd.itcl" line 70)
-----------------------------------------------------------
Miezekatze
05-20-2004, 04:55 PM
hi
my newdir.log is always empty so what to do ? ;o(
Reformer
06-05-2004, 06:38 AM
Is it possible to add older uploads to the dupedir.log file .. so that older upload before using newdir will be banned too?
tryed adding a directory to the dupedir.log .. but it didnt work..
Reformer
06-08-2004, 05:44 AM
Originally posted by Reformer
Is it possible to add older uploads to the dupedir.log file .. so that older upload before using newdir will be banned too?
tryed adding a directory to the dupedir.log .. but it didnt work..
why cant anyone answer to this question.. bounty? YES or NO.. simple..
neoxed
06-08-2004, 02:29 PM
Originally posted by Reformer
why cant anyone answer to this question.. bounty? YES or NO.. simple..
Bounty is/was away for a month or so; learn to have some patience and tolerance.
Of course you can add older directorys to the dupedir.log, just add them in the proper format. Just make sure to add the directory following the correct log format, otherwise you recieve errors or other various problems.
KVS_J
07-07-2004, 10:37 AM
hi
my newdir.log is always empty so what to do ?
jboy53
07-18-2004, 07:28 AM
is it possible to have a public undupe from a channel using newdir?
i have had a look on the forum and not seem to look anything to help me.
thanks in advance
sure, dzsbot.tcl and change into this:
bind pub -|- [set cmdpre]undupe proc_undupe
talktwo
08-14-2004, 04:28 PM
was just wondering if there is any setting within the dupcheck feature of newdir to undupe all files of a given series.
e.g. site undupe rld-astx.r*.*
thanks :)
bounty
08-15-2004, 09:43 AM
Originally posted by talktwo
was just wondering if there is any setting within the dupcheck feature of newdir to undupe all files of a given series.
e.g. site undupe rld-astx.r*.*
thanks :)
read manual:
SITE UNDUPE <filename(s)>
-> support multiple files selection: <01234> or <0-9> or <abcd> or <a-z>
-> "ex.: SITE UNDUPE file.r0<0123>" will undupe .r00 .r01 .r02 .r03 files @ once
-> "ex.: SITE UNDUPE file2<abc>.zip" will undupe file2a.zip file2b.zip file2c.zip files @ once
durulink
08-15-2004, 09:45 AM
newdir 3.5.2
THX Bounty. (--)(__)
-=DoBBeR=-
08-15-2004, 10:09 AM
-> "ex.: SITE UNDUPE file.r0<0123>" will undupe .r00 .r01 .r02 .r03 files @ once
does this work from irc too? !undupe file.r0
talktwo
08-15-2004, 11:48 AM
thanks ... I had read the manual for this ... however, it would be too time consuming if persay there was a 4.7 GB DVDR and I had to do that for each series of numbers i.e. site undupe file.r0<0123456789> then site undupe file.r1<123456789> all the way up to 90 ...
edit: or even site file.r0<0-9> would be a lil time consuming
bounty
08-15-2004, 01:40 PM
Originally posted by -=DoBBeR=-
-> "ex.: SITE UNDUPE file.r0<0123>" will undupe .r00 .r01 .r02 .r03 files @ once
does this work from irc too? !undupe file.r0
no for irc you can only undupe 1 by 1 file (security)
jason
08-23-2004, 07:56 PM
hi guys
i have a pb:
08-23-2004 20:49:03 "..\scripts\newdir\OnPreList.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
while executing
"vfs flush $path"
(procedure "iorefresh" line 3)
invoked from within
"iorefresh "
invoked from within
"if { $ND_DISABLE(cache) == 0 } { iorefresh }
"
(file "..\scripts\newdir\OnPreList.itcl" line 13)
------------------------------------------------------------------
I use io 5.3 & newdir 3.5.2
i saw that dupefile.log is good but newdir.log et dupedir.log are empty ...
My config seems to be correct. Help me plz. thx
[20:14:46] CWD Last_race_(XVID)_my.vacation.movie
[20:14:46] 550 Last_race_(XVID)_my.vacation.movie: No such file or directory.
Someone else who get these?
Its weird becuse sometimes the Last_race stopes working and I get the message abow. Nothing changes and the dir is exactly like it was when it got uploaded. Other times it works like a charm.
Why do I get this random error?
EDIT:
Maybe found whats causeing this.
In the Last_race_(XVID)_my.vacation.movie dir I found this in the ioFTPD file.
ââ¬Å¡ ð~ñ
b ß b /XVID/ANOTHER.VACATION.MOVIE/my.vacation.movie
I remember that when I uploaded my.vacation.movie I had ANOTHER.VACATION.MOVIE in my upload queue. Im gona try some more later but I think this is what casued the symlinc to stop working.
EDIT:
Its the symlink information that is casueing this. I just changed the symlinks path to a correct one and its working again. But I think this is a bug when placeing something IN a queue when uploading will cause the symlink to add to last things in the queue.
[20:39:50] SITE CHATTR +l "Last_race_(XVID)_my.vacation.movie" "/XVID/my.vacation.movie"
[20:39:52] CWD Last_race_(XVID)_my.vacation.movie
[20:39:52] 250 CWD command successful.
Can anyone confirm this? Would be nice if another ftp client was tested also except flashfxp.
Put 2 dirs/folders in your upload queue. Upload them to same section and check if the symlink in ROOT is working or if you get
550 Last_race_(XVID)_test2.test2.test2: No such file or directory.
bounty
08-30-2004, 05:19 PM
Originally posted by odd
Can anyone confirm this? Would be nice if another ftp client was tested also except flashfxp.
Put 2 dirs/folders in your upload queue. Upload them to same section and check if the symlink in ROOT is working or if you get
550 Last_race_(XVID)_test2.test2.test2: No such file or directory.
i have sometimes the same problem :(
ddeca
09-03-2004, 07:12 AM
i got some requests to add to newdir
when i release is banned due to the fact that the word is banned
in bandir.cfg
It would be nice with an output to status windows saying
what exactly is that is banning it..
(what word was catched in dir.name)
Hope u understand what i mean or i explain it better if not
REAGARDS ddeca
Originally posted by bounty
i have sometimes the same problem :(
Damn, Weird problem.
Originally posted by ddeca
i got some requests to add to newdir
when i release is banned due to the fact that the word is banned
in bandir.cfg
It would be nice with an output to status windows saying
what exactly is that is banning it..
(what word was catched in dir.name)
Hope u understand what i mean or i explain it better if not
REAGARDS ddeca
That sound like an nice idea.
prozak
09-08-2004, 11:04 AM
Suddenly receiving this error. I cannot recall changing any thing whatsoever, one moment everthing worked fine, the next it didnt. Basically it looks like the path to log is wrong, however I am positive i did not change anything regarding log paths, and i did check init.tcl + newdir.tcl and the paths look fine. Any ideas are quite welcome.
------------------------------------------------------------------
09-08-2004 16:56:57 "D:\ioFTPD\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "D:ioFTPDscripts
ewdir/bandir.cfg": no such file or directory
while executing
"open $ND_PATH/bandir.cfg r"
(procedure "nd_check_bandir" line 3)
invoked from within
"nd_check_bandir $section"
invoked from within
"if { $ND_DISABLE(bandir) == 0 } {
set section "none"
foreach temploop $ND_SECTIONS {
if { [string match */$temploop/* $pwd]09-08-2004 18:12:23 "D:\ioFTPD\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "D:ioFTPDscripts
ewdir/bandir.cfg": no such file or directory
while executing
"open $ND_PATH/bandir.cfg r"
(procedure "nd_check_bandir" line 3)
invoked from within
"nd_check_bandir $section"
invoked from within
"if { $ND_DISABLE(bandir) == 0 } {
set section "none"
foreach temploop $ND_SECTIONS {
if { [string match */$temploop/* $pwd]09-08-2004 18:12:23 "D:\ioFTPD\scripts\newdir\OnNewDir.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
couldn't open "D:ioFTPDlogs/newdir.log": no such file or directory
init.tcl
##### GLOBAL NEWDIR 3.5.2 INI #####
# setup here the path of log
set ND_IOLOG "d:\ioFTPD\logs"
# setup here the path of newdir
# don't forget to setup bandir.cfg & banfile.cfg
set ND_PATH "d:\ioFTPD\scripts\newdir"
newdir.tcl
################################################## ###############################
# NEWDIR by B0unTy For ioFTPD community #
################################################## ###############################
# BASIC CONFIG #
#################
## LOCATION
# set this to your newdir.log file
set newdir(LOG) "D:\ioFTPD\logs\newdir.log"
Thanks in advance
neoxed
09-08-2004, 03:56 PM
prozak: In your configuration, be sure to use forward slashes or double blackslashes; since a backslash is an escape.
# setup here the path of log
set ND_IOLOG "d:\ioFTPD\logs"
# setup here the path of newdir
# don't forget to setup bandir.cfg & banfile.cfg
set ND_PATH "d:\ioFTPD\scripts\newdir"
Should be:
# setup here the path of log
set ND_IOLOG "d:/ioFTPD/logs"
# setup here the path of newdir
# don't forget to setup bandir.cfg & banfile.cfg
set ND_PATH "d:/ioFTPD/scripts/newdir"
prozak
09-09-2004, 03:07 AM
thanx u were right on the money, only leaves me the mystery of how those paths were changed...... FOr now im just gratefull and happy things are back to normal :)
again thanks!
mr_F_2
11-27-2004, 10:57 PM
didn't read the thread, so someone else might have posted this already... but in current version (3.5.2) if the path has a space in it newdir gets mad and only outputs whatever is before the space
bounty
11-28-2004, 07:13 AM
it seems you didn't read the README-INSTALL.TXT in the newdir release ;)
so here is the help:
!!!!!!!!!!!!!!!!!!! W A R N I N G !!!!!!!!!!!!!!!!!!!
! !
! NEWDIR 3.X DON'T ACCEPT spaces in dirnames or filenames !
! (don't remove *\ * in bandir.cfg & banfile.cfg) !
! !
! NEWDIR 3.X DON'T ACCEPT brackets in dirnames or filenames !
! (don't remove *\[* in bandir.cfg & banfile.cfg) !
! !
! NO SUPPORT WILL BE PROVIDED ON SPACES & BARCKETS PROBLEMS !
! !
!!!!!!!!!!!!!!!!!!! W A R N I N G !!!!!!!!!!!!!!!!!!!
have fun
bounty
Pretone
12-02-2004, 10:32 AM
hello
I have problem with dupe check on newdir 3.5.2 the problem is :
I create dir XXX in this dir create WWW dir and QQQ dir now if in the root I create a GGG dir when I create WWW dir on the GGG dir the script block the comand for dupe any solution???
EwarWoo
12-14-2004, 04:53 AM
I'm getting a weird error on 1 of my configs:
12-14-2004 01:32:20 "?:\path\to\ioFTPD\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
12-14-2004 04:54:18 "?:\path\to\ioFTPD\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
12-14-2004 09:33:04 "?:\path\to\ioFTPD\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
12-14-2004 09:34:48 "?:\path\to\ioFTPD\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
12-14-2004 10:27:51 "?:\path\to\ioFTPD\scripts\newdir\OnSiteNew.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
------------------------------------------------------------------
Error, but no error info, thats just a small selection, is there a hella lot.
99% certain configs good, running on a few other sites with no issues, just getting this on 1 of 'em.
Any ideas?
JoeBAR
12-18-2004, 01:12 AM
Originally posted by bounty
Originally posted by odd
Can anyone confirm this? Would be nice if another ftp client was tested also except flashfxp.
Put 2 dirs/folders in your upload queue. Upload them to same section and check if the symlink in ROOT is working or if you get
550 Last_race_(XVID)_test2.test2.test2: No such file or directory.
i have sometimes the same problem :(
There is a similar bug in newdir.log the symlink, and path.to.rel in newdir.log is created from $pwd. the current path when created a new dir from multiple dir queued is the last dir completed. i.e.
when mkd /section/test2 ffxp is still in /section/test1 so the symlink points to /section/test1/test2 ... ooops :) symilarly, in newdir.log you get ctime uploader section /section/test1 /test2 .... it wouls be SOOOOOOO kewl if b0unty coukd write us a little update for both using maybe a '$previous' var and strip it from $pwd as in:
set $previous=$release
set $realpwd=($pwd - $previous)
(need to think where to put these 2 in correct order/position to werk, as it is, it wouldn't :) )
and
symlink -> $realpwd/$release
and in log
puts $fileid "$now $user $section $newpwd $release
Does that make sense? note that the fix for newdir.log is not absolutely necessary but would trim the size of the log dramatically if you do a lot of multi dir queues ... :)
neoxed
12-18-2004, 03:05 AM
Indeed JoeBAR, there is a common bug in most of newdir. Newdir assumes the file/directory the user created/deleted is in their current working directory. Here's an example on how the virtualpath should be found:
## If the path begins with a slash, the user specified
## the absolute path, rather than the relative path.
set args "MKD /path/to/a/cool/dir"
set dir [join [lrange [split $args] 1 end]]
if {[string index $dir 0] == "/"} {
set vpath $dir
} else {
set vpath "$pwd$dir"
}
(Similar to the "GetPath" function in nxLib.itcl for nxAutoNuke/nxTools for those who use them.)
JoeBAR
12-18-2004, 03:46 AM
I just realised that my example wouldn't work because the script is called each time a dir is created, and it's not a continuous process, so $previous would have to be stored in tempfile.
Maybe it could be filtered out ... like /section_path/ ... Additionnal filers may be necessary for CD/DVD/DiSC, also for dated dir %m%d and additionally, for those who use a higher hierarchy like /incoming/section (supported by newdir in ND_SUBSTRINGS)...
All this are way beyond my undrestanding of regex, but our tcl experts here may be able to help :) Incidently, old newdir didn't store the $pwd I think. Is it necessary at all? :cool:
Hopefully bounty will be up soon to give some answers.
Furthermore, (I just thought about it a bit more) the previous in queue (i.e. $pwd) could be a different section! and the log looks like:
1321465466 Uploader section2 /incoming/section1/previous.release.was.section1.type.and.new.release .is.section2.type new.release
so maybe like you mentioned in your post, it should be made relative to the way mkd is passed, and treat it from there. I just realised the implication of your filter :)
if mkd is relative.path -> log from $pwd
if mkd is /absolute/path -> log by filtering from $path (or whatever the variable is in this case, I'm nore limited in TCL than in logic :cool:
Nicky7
01-17-2005, 08:29 PM
I upgraded to NEWDIR 3.5.2, then got this prob.
I set the path mask like this at "set ND_NODUPECHECK".
set ND_NODUPECHECK "*/whatever/*"
But newdir still won't allow me to create banneddirname under /whatever.
prozak
03-22-2005, 08:52 AM
Had some heavy site activity last night, a few thousand dirs were created. After a while site dupe <argument> stopped working.
example:
[14:50:30] [R] site dupe mickey mouse
[14:50:31] [R] 200 Command successful.
below is from the error log, anyone have a clue how to fix?
"D:\ioFTPD\scripts\newdir\OnSiteDupe.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
unmatched open brace in list
while executing
"llength $dupefile"
(procedure "nd_read_dupelog" line 6)
invoked from within
"nd_read_dupelog $searchstrs"
(procedure "nd_onsitedupe" line 20)
invoked from within
"nd_onsitedupe"
(file "D:\ioFTPD\scripts\newdir\OnSiteDupe.itcl" line 98)
--------------------------------------------------------------
*edit* problem solved apparently a dir with { wich somehow was made and added to the list broke wich broke newdir. deleting that entry solved the problem.
White_shadow
05-27-2005, 04:17 AM
Hello,
Excuse me for my english, i'm french and i don't write english very well.
I've one problem with the latest Newdir. I've search the newdirlog.itcl's function of the 2.1 version in the latest version but i'm don't find it. Can you tell me where i can find this function ?
Thanks
Pretone
06-06-2005, 03:43 PM
I have this problem
I use ioZS for zipscript and newdir 3.5.2
this erron on logs
------------------------------------------------------------------
06-06-2005 22:40:20 "..\scripts\newdir\OnPreMkd.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_NoRoot": no such variable
while executing
"if { $ND_NoRoot == 1 && $pwd == "/" } {
set ioerror 2
iputs "550 Requested action not taken. MKD not allowed in Root dir."
return
}"
(file "..\scripts\newdir\OnPreMkd.itcl" line 11)
------------------------------------------------------------------
06-06-2005 22:19:02 "..\scripts\newdir\OnDelDir.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ND_NOLOG(ND)": no such variable
while executing
"foreach deny $ND_NOLOG(ND) {
if { [string match -nocase $deny $vpath] != 0 } { return }
}"
(procedure "nd_ondeldir" line 6)
invoked from within
"nd_ondeldir"
(file "..\scripts\newdir\OnDelDir.itcl" line 49)
Any help
EwarWoo
06-06-2005, 04:31 PM
Check you correctly configured init.tcl
Pretone
06-06-2005, 04:36 PM
just check more time but I don't see nothing of incorect
this itcl file
################################################## ###############################
# NFO URL v 2.2.2 by B0unTy For dZSbot.tcl & ioFTPD community #
################################################## ###############################
## setup here all dirs/paths you want to hide from nfo announces
set hidden "*/admin/* */group/* */_pre/* */cd* /___egg/* /___ioFTPD/*"
################################################## ###############################
# !!! DO NOT CHANGE THIS BELOW !!! !!! DO NOT CHANGE THIS BELOW !!! #
################################################## ###############################
if { ! [file exists ../logs/nfos.log] } { set newid [open ../logs/nfos.log a] ; close $newid }
proc proc_nfourl {} {
global args hidden user group
set vpath [lindex $args 2]
set ppath [resolve pwd [lindex $args 2]]
regsub {(/[\w\(\).-]+)$} $ppath {} ppath2
set cnt 0
# deny check
foreach deny $hidden {
if { [string match -nocase $deny $vpath] != 0 } { return }
}
# read nfo file
if { [string match -nocase "*.nfo" $vpath] == 1 } {
# write to nfos.log
set fileid [open ../logs/nfos.log a]
puts $fileid "$ppath"
close $fileid
set tempfile [open $ppath r]
set nfofile [read $tempfile]
close $tempfile
# new or old imdb url
if [regexp {title/tt[0-9]+} $nfofile result1] {
set result1 "http://207.171.166.140/$result1/"
incr cnt
} elseif [regexp {Title\?[0-9]+} $nfofile result2] {
set result2 [string range $result2 6 end]
set result2 "http://207.171.166.140/title/tt$result2/"
incr cnt 2
}
# allocine.fr url
if [regexp {fichefilm_gen_cfilm=[0-9]+.html} $nfofile result3] {
set result3 "http://www.allocine.fr/film/$result3"
incr cnt 4
}
# write to ioFTPD.log
if { $cnt == 1 } {
putlog "IMDB: \"$vpath\" \"$result1\" \"$user\" \"$group\" \"$ppath2\""
return
}
if { $cnt == 2 } {
putlog "IMDB: \"$vpath\" \"$result2\" \"$user\" \"$group\" \"$ppath2\""
return
}
if { $cnt == 4 } {
putlog "ALLOCINE: \"$vpath\" \"$result3\" \"$user\" \"$group\" \"$ppath2\""
return
}
if { $cnt == 5 } {
putlog "ALLOCINE: \"$vpath\" \"$result3\" \"$user\" \"$group\" \"$ppath2\""
putlog "IMDB: \"$vpath\" \"$result1\" \"$user\" \"$group\" \"$ppath2\""
return
}
if { $cnt == 6 } {
putlog "ALLOCINE: \"$vpath\" \"$result3\" \"$user\" \"$group\" \"$ppath2\""
putlog "IMDB: \"$vpath\" \"$result2\" \"$user\" \"$group\" \"$ppath2\""
return
}
if { $cnt == 0 } {
if [regexp {http://[^\s]+} $nfofile result4] {
putlog "NFOURL: \"$vpath\" \"$result4\" \"$user\" \"$group\" \"$ppath2\""
} else {
putlog "NFO: \"$vpath\" \"none\" \"$user\" \"$group\" \"$ppath2\""
}
return
}
}
}
proc_nfourl
##### GLOBAL NEWDIR 3.5.2 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 "APPZ 0day Request PS2 GAMES"
# 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) ""
# setup here the paths masks (or dirs masks) you don't want to be logged in dupedir.log
set ND_NOLOG(DIRS) ""
# setup here all paths masks (or file-extension masks) you don't want to be logged in dupefile.log
set ND_NOLOG(FILES) "*.nfo"
# setup here all paths mask you want NO DUPECHECK/BANS UNDER THESE PATHS
set ND_NODUPECHECK "*/admin/* */request/*"
# 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 "appz:APPZS:/APPZ/ 0day:0DAY:/0day/%m%d/ request:REQUEST:/Request/ ps2:PS2:/PS2/ games:GAMES:/GAMES/"
##### 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 ""
durulink
06-07-2005, 04:03 AM
You added nfourl.itcl. :(:(
make 'init.itcl' on same dir and paste it.
Pretone
06-07-2005, 06:15 AM
sorry big me error :D
jannat
08-18-2005, 03:59 AM
hi,
how can I get date dirs (0818) not in dupedir check ?
what should I add under set ND_NOLOG(DIRS).
No idea how to do that, I can't add all possible date, or */0* and */1*.
Then a movie like e.g. 1forall would also be banned.
But I have date dirs in mp3 and in apps.0day-section ?
Newdir 3.5.2
ioftpd 0.5.8.2
thanks for info
prozak
08-20-2005, 02:38 AM
I have noticed the time a succesfull 'site undupe <filename> takes is now up to 43 seconds. The dupefile log is about 12MB. I would like to know if this is the average time it takes other users to undupe a file with a comparable logfile. If someone could share their experience?
webManx
10-15-2005, 08:44 PM
1. Make a dir 'test'
2. Nuke that dir. Now ioA creates a dir, (NUKED)-test
3. Unnuke that same dir using 'site unnuke test'
4. newdir.log gets ruined, all releases names are removed
now try the same thing but instead use the syntax: 'site unnuke (NUKED)-test' and now it works fine.
Thanks,
W
dudex
12-25-2005, 05:50 PM
Newdir 3.5.2 and ioA 2.0.5 in use.
when creating a "dupedir" but with different upper/lowercase it doesn't dupe anyhow:
Some.NiCE.Tune-GRP doesn't dupe Some.Nice.Tune-GRP
also, is it possible to alias the undupe -d command to just undupe ? (i'm not using dupefile)
any help is appreciated!
ReyMysterio
07-09-2006, 12:11 PM
hi people
the ioFTPD gives for windows ??
as I can create a channel of IRC with one prebot ???
I wait please for answers.
ps: sorry my english
maxita
09-03-2006, 03:47 AM
I have installed newdir script... all seem work fine when i crate a dir in any section. All is writed fine in newdir.log and latest dir symlink appear in home.
Problem is when i make a pre, i get this error is systemerror log:
09-03-2006 10:26:04 "..\scripts\newdir\OnSitePre.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "section": no such variable
while executing
"puts $fileid "$user $section $vpath $release""
(procedure "nd_onsitepre" line 16)
invoked from within
"nd_onsitepre"
(file "..\scripts\newdir\OnSitePre.itcl" line 112)
------------------------------------------------------------------
i have checked 1000times case sensitive dirs/names/vfs paths but all seem config oke.
line 16 of the file is:
set vpath [clock format $now -format [lindex [split $tmploop :] 2] -gmt 1]
its possible that problem is reading of my system clock?
ah and readme in newdir script say:
THIS TYPE OF VFS IS ASLO SUPPORTED BY MY SCRIPTS
================================================
(don't forget to set ND_SUBSTRINGS in ND_CONFIG.itcl)
Exemple 2
---------
"x:\ioFTPD\site" /
"x:\INCOMING" /INCOMING
"x:\ARCHIVES" /ARCHIVES
Directory structure in FTP
--------------------------
/
/INCOMING
/section1
/section2
/section3
(/date)
/section4
(/date)
/section5
/ARCHIVES
/section1
/section2
/section3
(/date)
/section4
(/date)
/section5
but where is ND_CONFIG.itcl ?!?! i don't see this itcl file...
tnx for eventual replyes :)
EwarWoo
09-03-2006, 04:34 AM
Check "set ND_PRE_SECTIONS" in init.itcl
maxita
09-03-2006, 07:09 AM
Check "set ND_PRE_SECTIONS" in init.itcl
its all righ...my dirs name are something like
c-divx
c-apps
i have also try to rename all in cdivx and capps but nothing :( same error
Ac1d_Burn
05-22-2008, 02:47 PM
thnx dude let me check this one :)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.