PDA

View Full Version : listener to content of filesystem ?



Olii
19 Oct 2009, 12:30 AM
Hi,

I've made an admin console in extjs. I've a treatment which creates some files (+- 20) in a folder of a filesystem. The creation takes 2-3 minutes per file.

I would show the progress (what is created and what has to be created) in textfields in my extjs application. How could I do ? I think that check every minute the content of the folder is maybe not the best solution.

Is it possible to activate an event when a change is made in a folder via a listener ?

Have you got another idea to create this ?

Thanks

Olivier

Olii
21 Oct 2009, 12:06 AM
no body can help me ? :(( ;)

Condor
21 Oct 2009, 1:51 AM
This is not possible with javascript. Polling is indeed your only option.