Re: Zero kb file copied
Re: Zero kb file copied
- Subject: Re: Zero kb file copied
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 23 Dec 2005 01:59:33 +0100
On jeudi, décembre 22, 2005, at 10:01 PM, Sanri Parov wrote:
Hi everybody,
I'm having a little trouble in copying a file from the desktop to the
application bundle using NSFileManager.
When it comes to copy the file, it turns out the copied file is in the
right location I choose but it's zero KB in size.
Here's a little snippet:
NSString *stringaDiControllo = [NSString stringWithString:[[[NSBundle
mainBundle] executablePath] stringByAppendingString:@"/"]];
boolValue=[fm copyPath:[sheet filename] toPath:stringaDiControllo
handler:nil];
boolValue returns TRUE, which means the file is copied, but I can't
understand why it's empty...
Any clues?
Does this happen in special conditions? Such as you're copying the file
to a network volume.
_______________________________________________
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