File Locking (continued) Each level must communicate with each other. That also goes for the last level, your application. Most common way to do this is via renaming files. AFD supports all forms of locking, here follow just a view: locked | unlocked | AFD [options] -------+----------+--------------- .* | * | lock DOT tmp.* | * | lock tmp. *_tmp | * | plock _tmp