• 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
Can't copy files...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Can't copy files...
      • From: Ondra Cada <email@hidden>
  • Prev by Date: [OT] Re: I have NOT signed that petition!
  • Next by Date: Re: I have NOT signed that petition!
  • Previous by thread: Re: I have NOT signed that petition!
  • Next by thread: Re: Can't copy files...
  • Index(es):
    • Date
    • Thread