Skip to content
Advertisement

JavaScript fileWatcher

I am developing a web application (intranet) and it is mandatory to watch a specific folder, for example c:docs, for inserted files. I would like to do that through JavaScript in order to detect each time the client inserts file into specific directory.

Advertisement

Answer

You can build your own application using django. It has very safe methods to handle user models and for handling files.

Question is, do you want a web-based interface for users to manage their documents, or do you want to monitor documents as and when people modify directly in the file system?

For the former, I’d say django is a very good option to build your own app in no time.

EDIT

For the latter, you can use node.js. Here’s an interesting project that could get you started – https://github.com/mikeal/watch

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement