• 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: how to get a file's long name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to get a file's long name?


  • Subject: Re: how to get a file's long name?
  • From: Jim Correia <email@hidden>
  • Date: Fri, 30 Aug 2002 18:05:31 -0400

On Friday, August 30, 2002, at 05:48 PM, Matt Neuburg wrote:

Now I unhook my portable and start it up into OS 9, and hook it back up to
my main computer via FileSharing (i.e. the OS 9 computer is the "server").
I examine the same folder on my portable using NSFileManager
directoryContentsAtPath. The same file is now named:

smallGraphiteHighlig#206E0.tiff

My problem is: How can I *really* insulate my application from this
phenomenon? That is, to put it in a nutshell, how can I get the same file
name (i.e. the long one) in both cases? Thx - m.

PS I don't remember having this problem pre-Jaguar. Is this a new problem,
or did I just not notice before?

I think the case is you just did not notice before. The Mac OS 9 AFP client/server doesn't support long file names, so it exports the hashed name.

Jim
_______________________________________________
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: how to get a file's long name?
      • From: Rosyna <email@hidden>
References: 
 >how to get a file's long name? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: NSURL Access and .Mac accounts
  • Next by Date: Re: [Q] CopyWithZone:error
  • Previous by thread: how to get a file's long name?
  • Next by thread: Re: how to get a file's long name?
  • Index(es):
    • Date
    • Thread