Re: Copy problem
Re: Copy problem
- Subject: Re: Copy problem
- From: Sean McBride <email@hidden>
- Date: Wed, 19 Dec 2012 11:13:14 -0500
- Organization: Rogue Research Inc.
On Wed, 19 Dec 2012 16:38:29 +1300, tridiak said:
> if ([fm fileExistsAtPath:fps]) {
> if (![fm removeItemAtURL:dest error:&e]) {
Not sure what your exact problem is, but you might want to read up on file system race conditions:
<https://developer.apple.com/library/mac/#documentation/security/conceptual/SecureCodingGuide/Articles/RaceConditions.html>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden