"PeterJ" wrote : What mechanism are you using for the file download?
you mean upload, do you?
"PeterJ" wrote : If I recall correctly, the apache commons file upload library
provides a mechanism to query the file size before uploading the file.
well - my question is a more general one - not related to any library
I know, the apache commons file upload has a way to limit the upload size.
and also the seam s:fileUpload tag has such a setting.
but I am wondering if those settings are making any difference, because the client will
always build the request and send the complete very large request to the server (consuming
bandwidth), and if the server must process the complete very large request, before it
knows that the file is too large, it will also consume a lot of memory and CPU.
I guess that this is the case, because the filesize is not included in any meta-data
information.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128299#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...