Requirements that you posted are not clear at all.
- what is the preferred log file format?
- when you say
"if file is over 300kb", which file(s) are you talking about? The individual files that you copy? The log file?
- how do you want to be
"notified" ?
What have
you tried, btw?
The code above is the
exact copy of what I gave you a few days ago.
You don't expect monks to write everything for you, do you?
--perlplexer