PDA

View Full Version : Deny garbage files?


eger
05-19-2006, 09:41 PM
I couldn't find a script already that does this. I was wondering if anyone knew of a script that can check for garbage files using some sort of regexp on pre stor (.ex rel_name(1).nfo) when the rel_name.nfo already exists. Trying to avoid having users uploading duplicate nfo's and sfvs with bad names.

Harm
05-20-2006, 03:19 AM
ZR-Ban (part of ZR-Tools) can ban files using regexps. This script won't scan the target directory for existing files with similar names though.

helenoksen
05-21-2006, 02:42 PM
or u can use bountys newdir script and block *(*).nfo ... should work as well