First: you just bumped a topic from half a year ago. Please, let such topics rest and die silently unless you have a VERY urgent reason.
You might want to check this recent post by Eljay, he's making a library which let scripts respond on file transfer events... Just be patient!
Eljay's reply to Read this, i think its a brilliant idea