Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 62760 invoked from network); 4 Mar 2009 17:13:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2009 17:13:38 -0000 Received: (qmail 45830 invoked by uid 500); 4 Mar 2009 17:13:33 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 45780 invoked by uid 500); 4 Mar 2009 17:13:33 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 45769 invoked by uid 99); 4 Mar 2009 17:13:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 09:13:33 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 68.230.240.7 is neither permitted nor denied by domain of aaron@sendthisfile.com) Received: from [68.230.240.7] (HELO eastrmmtao101.cox.net) (68.230.240.7) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 17:13:21 +0000 Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090304171300.NGKG15713.eastrmmtao101.cox.net@eastrmimpo01.cox.net> for ; Wed, 4 Mar 2009 12:13:00 -0500 Received: from TIGER ([68.102.72.12]) by eastrmimpo01.cox.net with bizsmtp id P5Cz1b00K0Fu22k025CzVC; Wed, 04 Mar 2009 12:13:00 -0500 X-Authority-Analysis: v=1.0 c=1 a=VeNWedyFJSEA:10 a=VkclBgwcQ2gA:10 a=V9hqc1AUAAAA:8 a=pGLkceISAAAA:8 a=mV9VRH-2AAAA:8 a=1dEQx-m1AAAA:8 a=xdlOJ5NBAAAA:8 a=oCcaPWc0AAAA:8 a=Ub5K_LRgHUzamteV598A:9 a=1uJCz39zbLZXHoPV3jsA:7 a=do0WEFruu3UBmc96BKa3XpVl5QEA:4 a=bL5rJplq8IIA:10 a=vCgewxMTuNMA:10 a=D4aUVwB_5ocA:10 a=4UXMbAIZ4X4A:10 a=E0XXDIT5vwAA:10 a=MSl-tDqOz04A:10 a=kh0LtxQAgjoA:10 X-CM-Score: 0.00 From: "Aaron Freeman" To: "'Commons Users List'" References: <49AE713F.3010600@gmail.com> <49AE8F4E.9090502@gmail.com> <396e4a880903040832l3a3d37d7m7d08acad01809da4@mail.gmail.com> <396e4a880903040834v1db894f6ifbff658760506e02@mail.gmail.com> <49AEB149.7010105@gmail.com> In-Reply-To: <49AEB149.7010105@gmail.com> Subject: RE: [FILEUPLOAD] Problem with huge files (>2GB) Date: Wed, 4 Mar 2009 11:12:57 -0600 Message-ID: <022a01c99cec$77032700$65097500$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acmc6V97rzvwwZfeTaORlyPKlfHJRwAArhcA Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Our company has an API you could use to send files that doesn't have a 2GB limit. We also supply a client for Windows that makes it easy to use the API. From your application you would just do an HTTP post to our file manager (which runs as a daemon on your desktop), and it in turn transfers the file with no size limit. If that seems helpful or useful to you let me know and I can give you details. Aaron www.SendThisFile.com -----Original Message----- From: Ward [mailto:wardlootens@gmail.com] Sent: Wednesday, March 04, 2009 10:50 AM To: Commons Users List Subject: Re: [FILEUPLOAD] Problem with huge files (>2GB) Well, I indeed stumbled upon this in a academical context (my master thesis), but the application I'm developping actually has practical uses (Media Asset Manament system, the uploaded files are raw and unencoded video-files) Perhaps I should try to split the files in pieces of less than 2GB, but I think I will have to do this outside the browser (as no client-side-technologies are able to access files, if I'm correct?) And no, I didn't tried a 64-bit browser, cause I don't have any... But I don't think that would be a practical solution anyway :) Grtz Ward James Carman schreef: > That might be academically interesting, but it's probably not a > feasible user requirement. > > On Wed, Mar 4, 2009 at 11:34 AM, Paul Hussein wrote: >> Have you tried a 64bit browser ? >> >> On Wed, Mar 4, 2009 at 5:32 PM, Paul Hussein wrote: >> >>> some interesting google hits >>> >>> Bottom points >>> https://issues.apache.org/struts/browse/STR-2959 >>> >>> >>> http://www.motobit.com/help/scptutl/pa98.htm >>> >>> Lots of software uses integer and not a large integer, so they are >>> inherently limited. >>> >>> I would use FTP for such large files. >>> >>> >>> >>> On Wed, Mar 4, 2009 at 3:45 PM, James Carman wrote: >>> >>>> Perhaps an applet (or webstarted application) and use Commons VFS to >>>> move your files? We use Commons VFS over FTP (among other protocols) >>>> and it works great. I only suggest VFS because it would be easy to >>>> switch between transport mechanisms during unit testing (using local >>>> files/directories during unit testing if need be or just mock >>>> objects). >>>> >>>> On Wed, Mar 4, 2009 at 9:25 AM, Ward wrote: >>>>> Seems the problem lies in another place: >>>>> modern browsers don't support uploads of 2GB and more >>>>> (On Safari on windows I got to 4Gb, but that was the maximum there...) >>>>> >>>>> So I will have to find another solution... >>>>> >>>>> Grtz >>>>> >>>>> Ward >>>>> >>>>> Raghuveer.V schreef: >>>>>> I understand you have a problem of file upload size limit. >>>>>> Check the docs if it has defult size of 2 GGB. >>>>>> I used upload which is with struts. >>>>>> In struts which uses commons-upload ,the upload size can be controlled >>>> in >>>>>> struts-config.xml file >>>>>> >>>>> >>>>>> Let us see if some one suggests a alternative solution. >>>>>> >>>>>> >>>>>> >>>>>> ----- Original Message ----- From: "Ward" >>>>>> To: >>>>>> Sent: Wednesday, March 04, 2009 5:47 PM >>>>>> Subject: [FILEUPLOAD] Problem with huge files (>2GB) >>>>>> >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I'm currently working on a web application which sould be able to deal >>>>>>> with large multimedia-files. >>>>>>> For uploading the files I'm using the Apache Commons FileUpload >>>> library. >>>>>>> This works great for files up to 2GB, but when I try it with files >>>>>>> larger than 2GB, things go wrong: >>>>>>> The upload doesn't start, in fact, the doPost()-method of the Servlet >>>>>>> which handles the upload-request is never called. >>>>>>> >>>>>>> I think this might have something to do with the >>>> contentLength-property >>>>>>> of ServletRequest, which is an integer (so contentLengths > 2GB would >>>>>>> cause an overflow), but I'm not sure this is the problem. >>>>>>> >>>>>>> So: is it true that the maximum size of a post to a servlet cannot >>>>>>> exceed 2GB? >>>>>>> And is there somenone who could giveme some hints about how to make it >>>>>>> possible to upload huge files? Files-sizes up to 50GB and more should >>>> be >>>>>>> supported (raw and un-encode videofiles that are) >>>>>>> >>>>>>> Thanks in advance, you would really help me out! >>>>>>> >>>>>>> Grtz >>>>>>> >>>>>>> Ward (Belgium) >>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>>>>>> For additional commands, e-mail: user-help@commons.apache.org >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>>>>> For additional commands, e-mail: user-help@commons.apache.org >>>>>> >>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>>>> For additional commands, e-mail: user-help@commons.apache.org >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>>> For additional commands, e-mail: user-help@commons.apache.org >>>> >>>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.5/1977 - Release Date: 03/04/09 07:41:00 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org