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

RTFD file corruption


  • Subject: RTFD file corruption
  • From: Jesse Grosjean <email@hidden>
  • Date: Wed, 31 Aug 2005 08:17:31 -0400

My application stores data in RTFD text files. That is a package note.rtfd/ that stores a text file TXT.rtf along with any attachments.

The problem is that recently a user sent me a document where these files were corrupted and would not open. In the end the corruption turned out to be very minor, the capitalization had changed on the internal text file to TXT.RTF. Changing it back to TXT.rtf fixed the problem.

I'm wondering if this is a problem that I could have caused and if there is something that I should be doing to avoid it. I save the text using RTFDFileWrapperFromRange and then save the filewrapper to disk. My guess is that the problem must have occurred when moving between different file formats, they use OS 10.3.9, 10.4, and an iPod shuffle to move the file between. Is there anything that I can do or suggest so that they won't run into this problem in the future.

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: RTFD file corruption
      • From: Jeff LaMarche <email@hidden>
  • Prev by Date: Re: Change Budle Identifier, then lost defaults
  • Next by Date: Re: Problem with converting an NSImage to grayscale
  • Previous by thread: Re: Know when NSWindow lose Key
  • Next by thread: Re: RTFD file corruption
  • Index(es):
    • Date
    • Thread