iOS maximum filename length

Peter W A Wood peterwawood at gmail.com
Sat Jun 2 23:11:35 EDT 2012


Scott

On 3 Jun 2012, at 10:44, Scott Morrow wrote:

> This is in regards to saving user-nameable text files in an iOS app.  Does anyone know how to determine the maximum filename length?  I'm unsure whether it is based on the number of characters or bytes of the entire path… or whether there is a separate restriction on the name itself.  Oddly, I don't seem to be getting an error in the result when trying to write a file with an overly long file name.

According to StackOverflow its 1024 bytes - http://stackoverflow.com/questions/6581433/max-length-of-file-name

Regards

Peter





More information about the Use-livecode mailing list