How to catch the Maximum File Size Error on the client Side?

Hi,
how can we catch the Maximum File Size Error on the client Side to inform the user of the problem?

Best Regards,
Miguel

It is not possible, not all browsers provide file size on the client side.