• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Notification of file system modification arrives too early?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notification of file system modification arrives too early?


  • Subject: Re: Notification of file system modification arrives too early?
  • From: Antonio Nunes <email@hidden>
  • Date: Fri, 28 May 2010 14:57:03 +0100

On 28 May 2010, at 12:07, Uli Kusterer wrote:

> Are you doing this for Finder-originated copying only? In this case, you could probably look at the file's OSType/creator. I believe they get set to some special "busy"-values during copying, so if you get a write notification and your file has that type, you *know* it's not intended to be processed yet.

I expect many of the files will arrive in the watched folder either through user manipulation in the Finder or through scripts/automation. I don't think I can assume only Finder-originated copying.

António

-----------------------------------------
Perfume is the forgiveness
that the trampled flower casts
upon the heel that crushes it.
-----------------------------------------



_______________________________________________

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

  • Follow-Ups:
    • Re: Notification of file system modification arrives too early?
      • From: Scott Ribe <email@hidden>
References: 
 >Notification of file system modification arrives too early? (From: Antonio Nunes <email@hidden>)
 >Re: Notification of file system modification arrives too early? (From: Uli Kusterer <email@hidden>)
 >Re: Notification of file system modification arrives too early? (From: Antonio Nunes <email@hidden>)
 >Re: Notification of file system modification arrives too early? (From: Antonio Nunes <email@hidden>)
 >Re: Notification of file system modification arrives too early? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Notification of file system modification arrives too early?
  • Next by Date: Re: isKindofClass with NSData and NSKeyUnarchiver
  • Previous by thread: Re: Notification of file system modification arrives too early?
  • Next by thread: Re: Notification of file system modification arrives too early?
  • Index(es):
    • Date
    • Thread