Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Watching folders for new files and event handling based on that?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Watching folders for new files and event handling based on that? (From: Gregory Weston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.