Forum OpenACS Q&A: Response to Limiting Filesize via html form file upload

Posted by Jerry Asher on
It looks as though you can modify tcl/form.tcl/ns_getform to achieve what you are looking for.  Look for where they call ns_conncptofp, and just before that see if you can check the conn's contentlength [ns_conn contentlength].