Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 892
Product
FileUp
Version
All
Title
What is the maximum length of a file name that can be entered into a form element of type File?
Problem
FileUp reportedly supports a maximum file name length of 255 characters (KB#177), but clients using IE are unable to upload files with names under this limit using a file input element in a HTML form.
Solution

Although the NTFS or FAT32 file systems can support filenames up to 255 characters, it isn't possible to use a file input to upload a file with a name that long. This is due to the way that IE inserts the chosen file into the form field.

When you browse to a file and select it using the File input, IE inserts the full file path. IE also limits you to 255 characters, but counts the file path against that limit. This means that if you had a path with a length of 55 characters, the maximum length of the file name that you could choose to upload would be 200 characters.

In order to avoid this limitation, you should use a non-IE browser or a client side tool like JFile or XFile to choose and upload files. The only limitations on filenames these tools experience are those implemented by the file system.

Created : 3/16/2005 12:56:53 PM (last modified : 3/16/2005 12:56:53 PM)
Rate this article!
Comments