|
Posted by Aaron Saray on 11/11/07 20:17
On Nov 10, 9:46 am, alexan...@gmail.com wrote:
> I run some remote binary with php script in background. The binary
> creates some big files - a lot of files, they are being written 2
> days, one after another, by chunks.
>
> I output window where I display a list of these files by another php
> script. I must show only those of them that are COMPLETELY DONE. How
> can I do this?
>
> I don't have access to binary sources.
>
> OS is Solaris.
What if you checked out the 'flock' functions of PHP? You might be
able to lock the file, then check to see if they're locked by the
other script... etc.
[Back to original message]
|