• 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: Maximum file name length?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximum file name length?


  • Subject: Re: Maximum file name length?
  • From: "E. Wing" <email@hidden>
  • Date: Tue, 15 Nov 2005 15:01:52 -0800

>How do I know what the maximum allowed filename length is for a given
>file system?

There do seem to be some constants provided for this, but I guess it
presumes you can find out what file system you're on.

Look up kHFSPlusMaxFileNameChars in the Developer Documentation.

You might want to further inquire about this with others more
knowledgeable. My doc says this constant represents a max of 255
bytes, but I thought I've run across this before somewhere else and it
was claimed to be 255 characters, not bytes (unicode capable, 4-bytes
per character).

-Eric
 _______________________________________________
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

  • Prev by Date: Root namespace DO communicating with user space DO problem
  • Next by Date: Reference to entity name in NSPredicate?
  • Previous by thread: Re: Maximum file name length?
  • Next by thread: Continous updates from NSForm
  • Index(es):
    • Date
    • Thread