• 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: I am having a problem with writeToFile:atomically:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I am having a problem with writeToFile:atomically:


  • Subject: Re: I am having a problem with writeToFile:atomically:
  • From: Charles PARNOT <email@hidden>
  • Date: Sat, 10 Jul 2004 16:05:27 -0700

>Ok,
> I have an app that writes a dot file into the home folder. not in the root of the home folder but in the home folder all the same. The data is pretty basic. The problem is that on a number of systems the file is not being written, even though I'm using if([data writeToFile:path atomically:YES]) { doTheNextThing} to make sure that the data is actually being written.
> What would cause the system to report successfully saving the file when in fact it is never created?
>
>April.

Just in case:
if you use the tilde (?) you have to do stringByExpandingTildeInPath first.

--
Charles PARNOT
email@hidden

Help science go fast forward:
http://cmgm.stanford.edu/~cparnot/xgrid-stanford/

Room B157 in Beckman Center
279, Campus Drive
Stanford University
Stanford, CA 94305 (USA)

Tel +1 650 725 7754
Fax +1 650 725 8021
_______________________________________________
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.


References: 
 >I am having a problem with writeToFile:atomically: (From: April Gendill <email@hidden>)

  • Prev by Date: Re: plist issues driving me crazy
  • Next by Date: Re: Usb
  • Previous by thread: I am having a problem with writeToFile:atomically:
  • Next by thread: Strange printing issue (again)
  • Index(es):
    • Date
    • Thread