Also, there is JHOVE http://hul.harvard.edu/jhove/
Michael McGrady
Joe Germuska wrote:
If your server is a Unix platform, one thing you could do is run the
shell command "file" against the uploaded file, and take a look at the
result. This tool ignores any extension on the filename, and examines
the content of the file itself against signature patterns it knows
about.
For image, Marco Schmidt has some great 100% Java utilities that can
verify the uploaded image type and other information.
http://www.geocities.com/marcoschmidt.geo/java-file-format-identification.html
http://www.geocities.com/marcoschmidt.geo/image-info.html
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]