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

Changing a filename while the FSRef is in use


  • Subject: Changing a filename while the FSRef is in use
  • From: ruffnex <email@hidden>
  • Date: Sun, 8 Feb 2004 19:05:30 +0800

Hi,

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.

Is this use of an Alias? Or something that is supported by Carbon FileManager?

I ask because I want users to be able to rename the file themselves, as it is growing. FSRenameUnicode() warns that "renaming an object may change its FSRef" so I don't think this is the correct approach.

Can anybody suggest a suitable approach? Thanks.
Thanks.
Simon
_______________________________________________
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: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: Clarification: What is exatly drawing inside a thread
  • Next by Date: Re: Changing a filename while the FSRef is in use
  • Previous by thread: Re: Clarification: What is exatly drawing inside a thread
  • Next by thread: Re: Changing a filename while the FSRef is in use
  • Index(es):
    • Date
    • Thread