Browsers don't tell the server the size of files about to be uploaded.
They provide the total size of the entire POST, and once the file is
uploaded you can examine it as someone showed earlier by getting a
handle to the File and calling length().
-jh-
Patwa Patwa wrote:
>
> Mark
>
> getContentLength() returns the length of the whole content...I need to get the
> length of a file the will be uploaded. Also I am using the MultipartParser .
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html