Chapter 11 - Adding Images to Blog Entries
Detecting Other Errors

Missing Further Refinements

1 - Check for name conflicts before upload

2 - Throw an exception and prompt the user to rename the image before
upload

3 - Implement server-side validation for file type 
(compare the mimetype of the upload file with one or more accepted
mimetypes)