quote:

you reference the $ok inside the udf part

Why not? Why not do a check to see if the file that is being copied is either new or replacing another?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's