@KorDec 10.2009 — #Not really. So far javascript (as a client-side language) can not measure the burden of the uploaded files. You must use a [I]server-side[/I] application. It is up to your host capabilities (PHP, ASP, ... whichever)
@astupidnameDec 11.2009 — #There is a client-side solution available utilizing flash & javascript. Look in to swfupload here. You can limit, from the client side, to file size and type with swfupload.