Yeah, I tried that fix too and it worked for MyFiles but not for club file storage. Here are the precise lines I commented out:
max_size -requires {upload_file} {
set n_bytes [file size ${upload_file.tmpfile}]
set max_bytes [ad_parameter "MaximumFileSize"]
#if { $n_bytes > $max_bytes } {
# ad_complain [_ file-storage.lt_Your_file_is_larger_t_1 [list max_number_of_bytes [util_commify_number $max_bytes]]]
#}
The file is /var/lib/aolserver/$servername/packages/file-storage/www/file-add-2.tcl
The parameter for $max_bytes is set in /file-storage/file-storage.info and is expressed:
<parameter datatype="number" min_n_values="1" max_n_values="1" name="MaximumFileSize" default="10000000" description="The maximum size, in bytes, of files that users are allowed to upload"/>
The original was 2000000 and I upped that to no effect (that's why the number is so high above). I would like to have a ceiling on the file size just out of caution but, for now, this seems to work.