May 09, 2002
Improved File Upload Library

Now available is a new com.oreilly.servlet release containing several substantial improvements in its file upload capabilities.

First, I've added support for internationalized filenames and parameter values. Previously all filenames were assumed Latin-1, but that only covers Western European languages. Now the library can support file names in any Java-supported encoding. This feature has been high on the wish list of Chinese, Japanese, and Korean programmers.

Second, I've added support for pluggable file renaming logic, so that if two files are uploaded concurrently to the same directory, the MultipartRequest class will notice and execute programmer-specified logic. One standard implementation is available in the package; it appends increasing integers to the filename.

Lastly, numerous bugs have been fixed. Most noticeable is an improvement in header handling to better support the Opera browser.

I hope you enjoy it. Please respect the license.

Posted by Jason Hunter at May 09, 2002 06:19 PM
To be notified when new weblog entries are posted, click here.