Hi, We use merb for our file upload server. Everything is ok except file upload size limit, we want to cancel file upload process immediately once we learn that the size of upload files has exceed the max size limit. First, we try to hack MerbUploadHandler#request_begins(here, we can get CONTENT_LENGTH), but get trouble to cancel the upload process elegantly. Currently, we have no choice but to let browser to do the work. Our web client will query process info from server, and it know the max size limit, when it find that the size > allowed maxsize, it will cancel the upload task by IFRAME.stop. This solution solve our problem, but it''s ugly. Have other better solution? Thanks David Lin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070206/2770a89e/attachment.html