hmm...
the ok-file should be tested...
it's size or something needs to match...

the state info is not needed... I think.

and, you reference the $ok inside the udf part [Wink]

maybe some failure check needs to be done too...
as if the copy fails.
_________________________
!

download KiXnet