> The way Tomcat is apparently doing it now is much more sensible, in my humble 
> opinion, because it does allow a direct and easy comparison with the files 
> being uploaded.
> And since as per above it needs to be kept in some cases anyway, my vote - if 
> I had one - would be to not change it.

I must agree with André. The process of base64 encoding a file increases the 
number of bytes it takes to transmit it. But since that is not the actual size 
of the file, the extra length should not be counted towards the post size. The 
process by which the part lengths are added up DECODED is a much more accurate 
way to do it, in my opinion. How confusing would it be to a user who uploads a 
file that is 1,989,956 bytes to get notified that the file exceeded the 2 MB 
limit? The user certainly wouldn't understand that his file base64 encoded was 
larger than 2 MB. He would think the site was broken.

N

This e-mail may contain privileged or confidential information. If you are not 
the intended recipient: (1) you may not disclose, use, distribute, copy or rely 
upon this message or attachment(s); and (2) please notify the sender by reply 
e-mail, and then delete this message and its attachment(s). Underwriters 
Laboratories Inc. and its affiliates disclaim all liability for any errors, 
omissions, corruption or virus in this message or any attachments.

Reply via email to