Re: Watching folders for new files and event handling based on that?
Re: Watching folders for new files and event handling based on that?
- Subject: Re: Watching folders for new files and event handling based on that?
- From: Uli Kusterer <email@hidden>
- Date: Fri, 10 Aug 2007 21:11:00 +0200
On 10.08.2007, at 19:56, Gregory Weston wrote:
Getting this in digest mode means someone has already likely
responded, but presuming you don't care about anything older than
10.3 the standard solution is to use kqueues, for which list
participant Uli Kusterer has a nice Objective-C wrapper:
<http://www.zathras.de/angelweb/sourcecode.htm>
By the way, this also contains FNNotify code, though that doesn't
work on some OS versions, and isn't as reliable as kqueue. FNNotify
relies on other apps correctly sending out notifications for file
changes they do, which sadly only few apps do. Oh, and kqueue and
FNNotify only work locally, not over the network.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden