Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 17864 invoked from network); 21 Dec 2004 21:21:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Dec 2004 21:21:16 -0000 Received: (qmail 94102 invoked by uid 500); 21 Dec 2004 21:21:06 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 94040 invoked by uid 500); 21 Dec 2004 21:21:05 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 94023 invoked by uid 99); 21 Dec 2004 21:21:05 -0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=DNS_FROM_RFC_POST,FORGED_MUA_OUTLOOK,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of nmaujean@hotmail.com designates 64.4.54.192 as permitted sender) Received: from bay20-dav12.bay20.hotmail.com (HELO hotmail.com) (64.4.54.192) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Dec 2004 13:21:02 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 21 Dec 2004 13:21:00 -0800 Message-ID: Received: from 81.185.93.144 by BAY20-DAV12.phx.gbl with DAV; Tue, 21 Dec 2004 21:20:42 +0000 X-Originating-IP: [81.185.93.144] X-Originating-Email: [nmaujean@hotmail.com] X-Sender: nmaujean@hotmail.com From: "Nicolas Maujean" To: Subject: FileUpload : UnknownSizeException on a file of 3Go Date: Tue, 21 Dec 2004 22:22:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-OriginalArrivalTime: 21 Dec 2004 21:21:00.0559 (UTC) FILETIME=[F80DD1F0:01C4E7A2] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I am trying to upload a large file of about 3Go when I am doing it I have an UnknownSizeException. I discovered that it came from the FileUploadBase class in the method from the method public List /* FileItem */ parseRequest(HttpServletRequest req) from this code : int requestSize = req.getContentLength(); if (requestSize == -1) { throw new UnknownSizeException( "the request was rejected because it's size is unknown"); } Is it possible to upload a file of any size ? if yes, why I can't upload this file of 3Go, why I have an UnknownSizeException ? if no, how I can bypass it to upload a file of 3Go ? thank you for your answer, Nicolas Maujean --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org