Can't copy files...
Can't copy files...
- Subject: Can't copy files...
- From: Riccardo Santato <email@hidden>
- Date: Wed, 12 Dec 2001 21:09:18 +0100
Hi everybody.
I'm toying 'round with NSFileManager class and I'm stuck into copying files.
I'm trying to copy some files I chose from an NSBrowser (let's call it
"source_browser") to another one (called "dest_browser").
Here's the incriminated code:
[fm copyPath:[source_browser path] toPath:[dest_browser path] handler:nil];
"fm" is a filemanager that it's allocated via the selector
"defaultManager" when the NIB awakes. The program doesn't give me any
error, NSFileManager doesn't need delegates, and the above function
returns me a TRUE boolean (checked with an if/else conditional block).
Can you give me a little hand, please ? :-))
P.S. Is my terminology now a little more Cocoa/Obj-C like ? :-)
--
Riccardo Santato
www.riccardosantato.com