PDA

View Full Version : Need immediate Assistance if Possible


caugas
09-05-2006, 01:55 PM
Two questions;

1. What is the maximum length of a file name/resource?

2. What is the maximum length for a url?

I am trying to incorporte these answers into my mod-rewrite development.

Thanks,

caugas

Chris_D
09-05-2006, 03:23 PM
As best as I can tell...
1. Max filename length depends on the filesystem
e.g most unix systems max filename length incl. extension is 255 Whereas Mac finder is much shorter. Have a look at this:
http://en.wikipedia.org/wiki/Filename

2. Max URL length is browser related:
Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.

...... RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1," does not specify any requirement for URL length.
http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427

caugas
09-06-2006, 12:17 PM
Thanks Chris. I appreciate the reponse.... this is helpful