Is there any way to check the size of a file that's uploaded via CGI before writing it to the server? That way I don't have to write it and then delete it if it's too large. Right now I am using content_length ENV but that would only work for one upload, not two uploads at once.