• 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: Changing a filename while the FSRef is in use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing a filename while the FSRef is in use


  • Subject: Re: Changing a filename while the FSRef is in use
  • From: ruffnex <email@hidden>
  • Date: Sun, 8 Feb 2004 21:34:54 +0800

Given a download path and filename, I create a FSRef and pass to a 3rd party routine which writes data to the file. In Finder, I can move this growing file, rename it, and the data continues to be written correctly.

I think as long as you have the file open for reading/writing, it will always point to the same file, even when it is moved or renamed. aka "it just works".


Thanks, does anybody out there know how it works, just to be sure?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Changing a filename while the FSRef is in use
      • From: Andreas Mayer <email@hidden>
References: 
 >Changing a filename while the FSRef is in use (From: ruffnex <email@hidden>)
 >Re: Changing a filename while the FSRef is in use (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Converting wchar_t string to NSString
  • Next by Date: NSTableView fontsize
  • Previous by thread: Re: Changing a filename while the FSRef is in use
  • Next by thread: Re: Changing a filename while the FSRef is in use
  • Index(es):
    • Date
    • Thread