View Single Post
Old 10-30-2003, 01:38 PM  
bounty
Senior Member
 
Join Date: Aug 2002
Posts: 529
Default newdir 3.0.2 & -nocase

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 is offline   Reply With Quote