Changing a filename while the FSRef is in use
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.