PDA

View Full Version : multiple event tags


iszmatic
10-26-2002, 08:20 PM
Hiya.. just to remind you of my request to have more than one
script executed on events.

keep it up!

FTPServerTools
10-29-2002, 10:07 AM
That is NOT a good idea. Why? well simple how do you know for example which pre event passes on and which doesnt??
Suppose I run first.exe and second.itcl then if first.exe gives a not allowed to go on would you want to do second.itcl or not? So you better use one event and program the way it reacts to multiple scripts yourself. Only then are you sure how it works.
On a post event is makes little sense for various events as well.
It only makes sense for scripts that dont give any feedback. But then why not simply use a bat file or use ExecBoth.itcl ?

ExecBoth.itcl:
exec "c:\ioftpd\scripts\myprog.exe" "arg1" "arg2"
exec "c:\ioftpd\scripts\myprog2.exe" "arg1"

etc..
You can even mix tcl with exe's and so in. The tcl ability makes this flexibility possible.

darkone
10-29-2002, 03:45 PM
I've already added this feature to version I'm working on.. :)