Page 1 of 1
Monitoring a change in a file
Posted: Mon Oct 27, 2008 8:22 pm
by legend986
Is there a way I can monitor a change in a file using javascript without using the polling technique (i.e. check some attribute of the file continuously)...? Basically, I want to know if I can trigger an action if a file has been changed in the disk.
Re: Monitoring a change in a file
Posted: Tue Oct 28, 2008 1:05 pm
by kaszu
In the future we will have 'comet', but until then I don't know any way.
Re: Monitoring a change in a file
Posted: Tue Oct 28, 2008 5:17 pm
by VladSun
Well, the usage of JS on local files is very restricted.
You may be interested in
viewtopic.php?f=30&t=76192.
Re: Monitoring a change in a file
Posted: Tue Oct 28, 2008 10:24 pm
by taylor28
Thanks for sharing that link thread it might have something to learn.
