[wget-notify] [bug #21714] File name too long

John Nolan INVALID.NOREPLY at gnu.org
Mon Jul 21 11:15:43 PDT 2008


Follow-up Comment #5, bug #21714 (project wget):

According to the RFCs, there is no theoretical limit to the size of a URL. 
In theory, a URL can be arbitrarily long.

Most browsers and servers have some kind of implementation limit on URL
length, but often the implementation limits are  generous.  Even older mobile
phone browsers, which may have severely limited device memory to work with,
often allow 1024 bytes or more for a URL.  I believe Firefox allows very long
URLs. 

http://www.boutell.com/newfaq/misc/urllength.html

This contrasts with filesystems, which typically have a much smaller length
limit on filenames.  Ext2 apparently allows only up to 255 characters for a
filename. 

In the general case, it really does not make sense to blindly attempt to use
a URL as a filename.  Long URLs are not even an edge case, they are common. 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21714>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



More information about the wget-notify mailing list