hi,

  in FileUploadBase.java, I comment the code which get the size we want to
transfer :

/*
        long requestSize = req.getContentLength();

        if (requestSize == -1)
        {
            throw new UnknownSizeException(
                "the request was rejected because it's size is unknown");
        }

        if (sizeMax >= 0 && requestSize > sizeMax)
        {
            throw new SizeLimitExceededException(
                "the request was rejected because "
                + "it's size exceeds allowed range");
        }
*/

  because request.getContentLength return an int
so we are limited to 2^31 - 1 =
2147483647 bytes
  after I comment this part, is it possible to upload a file larger than
that size ?
Note that the size is used only in this part of the code,

thank you for your answer,

Nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to