• 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
Re: NSFileManager - "Can't read directory contents" ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager - "Can't read directory contents" ??


  • Subject: Re: NSFileManager - "Can't read directory contents" ??
  • From: Shon <email@hidden>
  • Date: Tue, 19 Jul 2005 22:24:58 -0400

Originally, this is exactly what I was doing, but launching the app
from a terminal (so I'd know the current directory).  I've since
discovered the error of my ways and have corrected the code to contain
a proper absollute path for the destination.

My more recent messages contain the code and logs ... and evidence of
the sill-present error.  :-(

--Shon

On 7/19/05, Aaron Burghardt <email@hidden> wrote:
>
> On Jul 19, 2005, at 1:39 PM, Shon wrote:
>
> I didn't copy/paste that path; it is indeed "/Volumes/SHONSD". I don't key
> this path in, it comes from the notification. The destination path is
> "./temp/" and is currently hard-coded into the app.
>
> You specify "./temp/", but do you know where "./" is? If you aren't setting
> the the current working directory, read the docs on the NSFileManager
> methods:
>
> - (NSString *)currentDirectoryPath
>
> - (BOOL)changeCurrentDirectoryPath:(NSString *)path
> Hope that helps.
>
> Aaron
>
>
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSFileManager - "Can't read directory contents" ??
      • From: SA Dev <email@hidden>
    • Re: NSFileManager - "Can't read directory contents" ??
      • From: Charilaos Skiadas <email@hidden>
References: 
 >NSFileManager - "Can't read directory contents" ?? (From: Shon <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: SA Dev <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: Shon <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: SA Dev <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: Shon <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: SA Dev <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: Shon <email@hidden>)
 >Re: NSFileManager - "Can't read directory contents" ?? (From: Aaron Burghardt <email@hidden>)

  • Prev by Date: Something like runUntilDate in CoreFoundation
  • Next by Date: Re: From Delphi to Cocoa
  • Previous by thread: Re: NSFileManager - "Can't read directory contents" ??
  • Next by thread: Re: NSFileManager - "Can't read directory contents" ??
  • Index(es):
    • Date
    • Thread