PDA

View Full Version : [Filled] Auto Delete Script


Miezekatze
05-25-2004, 12:51 PM
hi just wanna keep the speed folder of my site clean, so i´m searching for a script that can autodel the files to a special folder who get uploaded...

mfg

and big thx to harm ^^

Harm
05-25-2004, 12:56 PM
set dir "/requests/speedtests"

if {[string match "$dir*" $pwd] } {
global ioerror; set ioerror 1;
return 1
} else {return 0}


Call this itcl script OnUploadComplete.

Miezekatze
05-25-2004, 01:00 PM
thx harm works fine