# Problem with polling file

**URL:** <https://forum.kirupa.com/t/problem-with-polling-file/264248>\
**Category:** Uncategorized\
**Created:** [June 24, 2008, 11:59am UTC](https://forum.kirupa.com/t/problem-with-polling-file/264248 "2008-06-24T11:59:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skojdk](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@skojdk](https://forum.kirupa.com/u/skojdk)\
**Post date:** [June 24, 2008, 11:59am UTC](https://forum.kirupa.com/t/problem-with-polling-file/264248/1 "2008-06-24T11:59:26Z")

</div>

Hi.  
I’m currently building an application that is supposed to read a textfile every 500ms or so. The text file will contain a row of 16digits. Another application will update the textfile and write another 16 digits. Therefore I will only read the last 16digits.  
But the problem is that when flash reads the file, the file is writeprotected. And it seems to be that for quite a long time. Is there another way aorund this problem? perhaps checking the size of the textfile and if that has changed then read it in?  
Anyone got any smart solution? :mario:
