sadhu Posted November 19, 2010 Posted November 19, 2010 I need to monitor a folder in another LAN computer. When a new file or folder is dropped in this monitored "folder" the client computer is notified. Is it possible to do this using LISP ? Quote
asos2000 Posted November 21, 2010 Posted November 21, 2010 Ask IT engineer for that. Its easy easy to do through them Quote
BlackBox Posted November 21, 2010 Posted November 21, 2010 (edited) I agree with Asos, that it would be very easy to do for IT. However, to answer the question in the OP... Yes, this can be done with LISP. Look into storing the result(s) of vl-directory-files (to a text file, perhaps?) and compare that stored 'index' to the current properties of said folder. From there you'd need to code a sub-function which can provide you additional information about the owner of the newly added files (Scripting.FileSystemObject comes to mind). I am unsure of the impact for files that may be deleted. Experimentation would be necessary. Hope this helps! Edited November 22, 2010 by BlackBox Typo Quote
sadhu Posted November 21, 2010 Author Posted November 21, 2010 I'll try vl-driectory-files. Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.