• 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: Ryan Britton <email@hidden>
  • Date: Mon, 14 Nov 2005 19:24:27 -0800

You can't check this programmatically as far as I know. Give this a shot:


http://en.wikipedia.org/wiki/Comparison_of_file_systems

On Nov 14, 2005, at 6:09 PM, email@hidden wrote:

I've searched the archives and found questions without answers. I've searched the documentation and learned nothing.

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

NSFileManager comes close with fileSystemAttributesAtPath in that it gives me meta-data about the path, but it tells me nothing of the format of the drive or path lengths or file name lengths or anything useful.

(If you say "try Carbon" please also reference a function because that's lacking this information as well as far as I can tell ...)

Thanks!


Adam Knight I ♥ my 

"Every man is guilty of all the good he didn't do."  -- Voltaire


_______________________________________________ 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

_______________________________________________ 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: Maximum file name length?
      • From: Brian Bergstrand <email@hidden>
References: 
 >Maximum file name length? (From: email@hidden)

  • Prev by Date: Re: xcode 2.2 coredata accessors
  • Next by Date: Re: Delete Character keydown event
  • Previous by thread: Maximum file name length?
  • Next by thread: Re: Maximum file name length?
  • Index(es):
    • Date
    • Thread