• 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 and aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager and aliases


  • Subject: Re: NSFileManager and aliases
  • From: Alex Keresztes <email@hidden>
  • Date: Mon, 15 Apr 2002 02:49:12 -0500

Couldn't you just use NSFileManager's
- (NSString *)pathContentOfSymbolicLinkAtPath:(NSString *)cStringPath
to get the actual path the alias is pointing to?

Alex

On 4/15/02 2:40 AM, "Robert Fischer" <email@hidden> wrote:

> Hi there,
>
> is it possible that NSFileManager does'nt know anything about alias files?
> It does'nt see that its a directory (e.g.) with
> 'fileExistsAtPath:isDirectory:' and can't copy into it with
> copyPath:toPath:handler:.
> Hmmm, so I had to do strange Carbon stuff with FSSpec/FSRef magic to get
> the target of the alias.
>
> Is there an easier way to accomplish this? Do you also think, that
> NSFileManager should support aliases transparently?
>
>
> CU,
>
> Robert
>
>
> --
> --- - .-. -- --
> --- / \ ---- Robert Fischer
> .-. / \ --- .-. __o .-. @
> / \ / \ / \ _`\<,_ / \ berlin.de
> / \ / \ / \ (*)/ (*) / `--------------
> / `---' `-' `-----------'
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSFileManager and aliases
      • From: Robert Fischer <email@hidden>
References: 
 >NSFileManager and aliases (From: Robert Fischer <email@hidden>)

  • Prev by Date: NSFileManager and aliases
  • Next by Date: Looking for LGS Systems, or MDIQ Software owners
  • Previous by thread: NSFileManager and aliases
  • Next by thread: Re: NSFileManager and aliases
  • Index(es):
    • Date
    • Thread