Re: I am having a problem with writeToFile:atomically:
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.