Reply to Re: How to get to know if file is currently being written by another app?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация