Re: How to get to know if file is currently being written by another app?
Posted by NC on 11/14/07 16:15
On Nov 14, 6:08 am, alexan...@gmail.com wrote:
>
> Flock doesn't fit me. Flock is used to make lock
> FROM WITHIN php script.
Indeed. So if a PHP script can obtain an exclusive (writer's) lock on
a file, it means that no other process has that lock, meaning that the
file is not open for writing at the moment...