• 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: file done writing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file done writing?


  • Subject: Re: file done writing?
  • From: Scott Ribe <email@hidden>
  • Date: Sun, 10 Apr 2011 18:53:22 -0600

On Apr 10, 2011, at 5:57 PM, Rainer Standke wrote:

> Is there any way to tell if a file is done being written?

In general, no. There are lots of "maybe kind of" solutions, including trying to open for exclusive access. But there is absolutely no way, nor can there be, to know when to read a file that is being written by another app--which is what I think you're asking for--unless the other app provides some protocol for that.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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: file done writing?
      • From: Rainer Standke <email@hidden>
References: 
 >file done writing? (From: Rainer Standke <email@hidden>)

  • Prev by Date: Re: Mac App Store requirements
  • Next by Date: Re: Using selectedMenuItemColor
  • Previous by thread: file done writing?
  • Next by thread: Re: file done writing?
  • Index(es):
    • Date
    • Thread