[Catalyst] Looking at upload size/type before it is uploaded?

A Murka amurkat at gmail.com
Fri Jul 10 15:36:23 GMT 2009


What's the recommended way to validate file upload's size and type
(either filename or MIME) before downloading it into the temp
directory? I don't want the user to be able to upload a 200 MB file in
its entirety before having the controller reject it for being too big.

Thanks.
-amurka



More information about the Catalyst mailing list