Hi,
Have a look at the commons-fileupload [1], it should help you out.
Ben
[1] http://commons.apache.org/fileupload/
On 8/15/07, David Hesson <[EMAIL PROTECTED]> wrote:
> I am dealing with a client who needs multi-gigabyte uploads (4GB+,
> whatever he wants really, and he says it is needed/requ
Completely sorry, details follows:
System:
Windows XP (Home I believe) 32 bit
2GB Memory on my system
Web Application Details/ Other Details:
JSF Framework (1.1?)
Commons File Uploads 1.2 attempted to be used
Tomcat 5.5.17
I'm going to say that Sun is my JVM vendor??
JVM is version 1.6
Tomcat is
> From: David Hesson [mailto:[EMAIL PROTECTED]
> Subject: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
>
> Any help would be greatly appreciated.
Should we guess the Tomcat version you're using, or would you like to
tell us?
It would also be helpful to know the platform you're running
There have been fixes for >2GB size uploads and downloads between June
10 and June 5. If we assume, that those fixes will help, you've got a
coupe of options:
- try with Tomcat 6.0.14, which already contains the fixes. This is a
major update, but since you are already using Java 5+, you shoujl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
DAvid,
David Hesson wrote:
> The
> content-length has a maximum value of 2.x billion, which is right under
> two gigabytes.
Is this a limit on commons-upload? The header itself can contain an
arbitrarily high number, so there's no inherent file-size
There were in fact bugs with requests > 2GB in both Tomcat and mod_jk
which were fixed recently, as Rainer pointed out. (And some of the
code was using -1 if the content-length was too large.) Upgrading to
6.0.14 or the next 5.5 release should fix the problem.
There's no size limit on commons-file
Hello, thanks for the information received thus far and trying to assist
me. With regards to the Integer problem:
public class test
{
public static void main (String []args)
{
int j = 10; int y = 2147483646;
int result = j + y;
System.out.println( result );
}
}
C:\
> From: David Hesson [mailto:[EMAIL PROTECTED]
> Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
>
> I haven't checked where the content length is pulled from
> a String but if it does cause a crash, then it is handled
> internally
Here's the code
tations
before designing/selecting frameworks, language, etc.
Caldarale, Charles R wrote:
From: David Hesson [mailto:[EMAIL PROTECTED]
Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
I haven't checked where the content length is pulled from
a String but if it does caus
> From: David Hesson [mailto:[EMAIL PROTECTED]
> Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
>
> I have installed 6.0.14 now and the same problem persists.
Can you post your servlet/JSP code (if it's not excessively large)?
IIRC, you're using Comm
<[EMAIL PROTECTED] contentType="text/html"%>
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>
http://www.w3.org/TR/html4/loose.dtd";>
JSP Page
<%=request.getMethod ()%>
Caldarale, Charles R wrote:
From: David
David Hesson wrote:
I have installed 6.0.14 now and the same problem persists. I am
starting to worry about our choice to use Java for this web
application project now... the client insisted that we used .NET
framework or 'Microsoft' products if you will, but limitations arise.
I just won't
No clue, I guess that is an assumption on my behalf. If it doesn't, I'd
be delighted to know that. Will do some research shortly.
David kerber wrote:
David Hesson wrote:
I have installed 6.0.14 now and the same problem persists. I am
starting to worry about our choice to use Java for this w
> From: David kerber [mailto:[EMAIL PROTECTED]
> Do you know if .NOT will let upload these giant files?
Definitely not on 32-bit (see http://support.microsoft.com/kb/295626).
The address space maxes out at 1 Gbyte, and IIS has to buffer the bytes
in RAM before ASP.NET can process them.
http://as
Wow, I wonder if I'm going to have to do some kind of Applet to get this
to work properly? Another solution is forwarding requests to some FTP
app, but they want progress bars. If I were to compile and run all this
on a 64 bit, do integers use 32 bit still or are they knocked up to 64
in Java
> From: David Hesson [mailto:[EMAIL PROTECTED]
> Subject: Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
>
> If I were to compile and run all this on a 64 bit,
> do integers use 32 bit still
Recompilation for different platforms is never needed for Java code -
th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Hesson wrote:
> Hello, thanks for the information received thus far and trying to assist
> me. With regards to the Integer problem:
[snip]
> C:\Documents and Settings\David\Desktop>java test
> -2147483640
>
> It overflows when they are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Hesson wrote:
> I have installed 6.0.14 now and the same problem persists. I am
> starting to worry about our choice to use Java for this web application
> project now...
I know for a fact that Tomcat 5.5 can accept bigger-than-2GB uplo
s probably our fault for not asking, and then testing limitations
> before designing/selecting frameworks, language, etc.
>
> Caldarale, Charles R wrote:
>>> From: David Hesson [mailto:[EMAIL PROTECTED] Subject: Re:
>>> Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Schiegl wrote:
> a few days ago i had the same question/problem. i found:
>
> http://www.motobit.com/help/scptutl/pa98.htm
>
> If this is correct (my own limited tests confirmed it) you're effectivly
> limited to 2GB uploads using HTT
Well I am a new developer (I was still in college when I began helping
with this project) My boss told me the client would like to use .NET,
and I got kind of excited because I haven't worked with .NET/ASP/C# for
quite a bit, and I love the compiler, but he talked the client out of it
(the cli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Hesson wrote:
> Servlets are never reached in the web application, only the filters are
> hit. Servlet calls seem to be getting skipped.
Your filters are called, but not the servlet? That's odd. Can you post
the code to your filters? Or
> find a workaround with existing deployment options that allow huge
> > uploads. He never mentioned he wanted 2+ GB uploads anyways, but again
> > that's probably our fault for not asking, and then testing limitations
> > before designing/selecting frameworks, lang
Thanks, will do.
Len Popp wrote:
Yes, I've seen problems with IE and Firefox uploading files > 2GB (but
I haven't tested the latest versions). The browser either sends a
bogus Content-Length, or it doesn't send a request at all!
David, try your test JSP with the Opera browser. It seems to be ab
Opera totally works. I just uploaded a 4.2GB file with it :) Thank you
guys so much. Solution to uploading >2GB files was indeed not a Tomcat
issue. The login page will now contain the following text:
To upload files > 2GB, here are a list of browsers...
1) Opera
2) ?
:) Cheers and many t
You guys have no idea how happy I am.
David Hesson wrote:
Opera totally works. I just uploaded a 4.2GB file with it :) Thank
you guys so much. Solution to uploading >2GB files was indeed not a
Tomcat issue. The login page will now contain the following text:
To upload files > 2GB, here ar
26 matches
Mail list logo