View Full Version : Maximum length of file names?
04-24-2007, 08:17 PM
What is the maximum length of file names for websites? I am in the process of re-naming my image files to a more descriptive title, such as img_0590.jpg to 0590_canada_vancouver_harbour_centre.jpg. Adobe ImageReady will trunctuate the long file name to about 25 characters, but Photoshop has no problem with long file names.
Also is it better to use the underscore or dash? Such as harbour_centre.jpg or harbour-centre.jpg. I believe they are both the same.
04-24-2007, 08:34 PM
I'm pretty sure all browsers have a maximum number of characters that can be in the url bar. Now the maximum length of file names depends on the OS of the server of your host, although now you most likely won't find a problem with it (255 character max). Ms-dos FAT was famous for having a max of 11 characters (8.3 filename system). But most modern OS have 265 max.
04-24-2007, 09:08 PM
I'm not so sure about the max number of charcters in a browsers addressbar...this one is pretty long, just as an example:http://www.moosejaw.com/moosejaw/product.asp?path=Search&path=Mens+Mountaineering+Boots&search_handle=A%3dMens+Mountaineering+Boots%7eB%3dMens+Mountaineering+Boots%7eD%3d9%7eE%3d1%5e1%5e2% 5enum_Sort1%7eK%3d4%7eL%3d1%7eM%3d3%7e&scid=SearchResults&pf_id=PAAAAADFACDBDBAO&spoffset=2&s_id=0 and I've seen longer.
Google found this:
Microsoft Internet Explorer (Browser)
Microsoft states that the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL. In my tests, attempts to use URLs longer than this produced a clear error message in Internet Explorer.
After 65,536 characters, the location bar no longer displays the URL in Windows Firefox 1.5.x. However, longer URLs will work. I stopped testing after 100,000 characters.
If ImageReady is truncating your filenames, it must be an Adobe thing? I know some of the stuff I have is longer than 25characters. The only problem I've ever run into was spaces and I see your using _ so that's not a problem.
04-24-2007, 09:20 PM
If ImageReady is truncating your filenames, it must be an Adobe thing? I know some of the stuff I have is longer than 25characters.
When I batch process using "save for web" ImageReady will shorten the long file names. I prefer to use ImageReady for thumbnails and may have to re-name the files after.
04-25-2007, 09:45 AM
check this out lol (http://thelongestlistofthelongeststuffatthelongestdomainnameatlonglast.com/wearejustdoingthistobestupidnowsincethiscangoonforeverandeverandeverbutitstilllookskindaneatinthebro wsereventhoughitsabigwasteoftimeandenergyandhasnorealpointbutwehadtodoitanyways.html)
And btw the reason the longest they could have with 1 file name is 263, is prob because the file couldn't be more than 256 characters because of OS limitations.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.