You are here: Re: Is there a limit on characters in a filename? « HTML « IT news, forums, messages
Re: Is there a limit on characters in a filename?

Posted by Chris F.A. Johnson on 10/03/06 23:23

On 2006-09-30, patrick j wrote:
> Hi
>
> I'm wondering if there is a limit on the number of characters in a
> filename for use in a web-site?
>
> I used to do web-site creation on an amateur basis using the classic
> Mac OS and on that there was a limit of the number of characters in the
> filename so the issue never arose.
>
> However now I'm using OS X I have found myself creating quite long
> filenames.
>
> Should I be concerned about this?

Unix systems (which most web servers run on) usually have a
maximum length for filenames defined by the NAME_MAX macro. A
typical value is 255. There is also the PATH_MAX macro, typically
4095, which is the maximum length for the entire path to a file.


--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация