The best way to do this would be upon upload time, e.g. the FTP server or uploader script checks for that filename. If it is a PHP uploader that handles the files I can give you a script to block that filename.... but....
I am curious as to what you want to block rapidleech for, and why, what's it doing? Could you post the source as well? Maybe you can tackle the problem another way.