• 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
DirWatch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DirWatch


  • Subject: DirWatch
  • From: Lorenzo <email@hidden>
  • Date: Fri, 23 May 2008 00:32:19 +0200

Hi,
I need to watch at a given folder and check whenever a new file has been
copied therein. At the beginning, I fired a timer periodically getting the
list of the contents of that folder with

    directoryContentsAtPath

But soon I discovered that the list includes files still in copying (not yet
the whole file). So I switched to

    NewFNSubscriptionUPP
    FNSubscribe

Here I get the notification only "after" a file has been totally copied into
the folder, but I can't yet find the way to know which file has been copied.
Do you know how to get that info? Thanks.


Best Regards
--
Lorenzo
email: email@hidden

_______________________________________________

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: DirWatch
      • From: Jens Alfke <email@hidden>
    • Re: DirWatch
      • From: Robert Cerny <email@hidden>
  • Prev by Date: Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)
  • Next by Date: Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)
  • Previous by thread: Re: Gaussian blur with core image, using CPU or GPU?
  • Next by thread: Re: DirWatch
  • Index(es):
    • Date
    • Thread