Manuel Carrasco Moñino schrieb:
> NO, you have to send it to the server where you can read the
> content-length in server side an close the connection early.
> Neither you can cancel the upload process once the form has been
> submitted, only the server can do.
> You can take a look to the gwtupload library which does it.

JFTR: Just checking the content-length doesn't work in all cases.
If the client decides to send the request with chunked encoding
you don't have that information at that point of time. In that
case you have to read in the data and close the moment the limit
has been reached.


Regards, Lothar

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to