You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by aswath satrasala <as...@hotmail.com> on 2001/05/15 20:09:42 UTC

upload 1 GB files

Hi,
We have a requirement from our website for the users to be
able to upload 1GB files.

Since the files are huge, can anyone suggest, what is
the best approach.

Right now, I am using JSPSmartUpload.  I would like
to know if JSPSmartUpload can handle 1GB files.

Please suggest.

Thanks
-Aswath





>From: "Egidijus Drobavicius" <eg...@vb.lt>
>Reply-To: tomcat-user@jakarta.apache.org
>To: <to...@jakarta.apache.org>
>Subject: POST File: weird situation
>Date: Tue, 15 May 2001 17:40:04 +0200
>
>Hello,
>
>I've ran into strange a bit situation:
>i have to do file upload. I did this and there is no question about that.
>The question is:
>i want first verify all the data and then ask the user to confirm it. So i
>get all inputs and do my check, then i'd like to generate a page that has
>only 2 buttons submit and cancel, and on submit upload the data. Here the
>problem comes. Is it possible to do that? I mean is there any way of doing
>such a form? There is no attribute hidden for input type file. Is there any
>way at least to set the value for this field?
>I've tried using value="myfilename", but this does not work.
>
>The problem can be solved by parsing all the data in the POST data request.
>But this stream contains useful data and  I can not later retrieve it. E.g
>stream has <some_my_value> <one_more_value> <file_itself> <value>
><value_again> <another_file>
>I am not sure if the request can be served without knowledge about fields
><value> and <value_again>. However, to get these values i must skip maybe
>useful information. I can not use temporary files for storing it.
>
>Huh, if someone got what I am talking about, could you please share your
>possible ideas with me.
>
>Thanks,
>Egidijus
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


RE: upload 1 GB files

Posted by Brandon Cruz <bc...@norvax.com>.
O'Reilly has an upload package where you can specify the size of the files
you would like to allow to be upload.  Most likely it will take a little bit
of customization to use with your specific application, but the source code
is free with the book and it is pretty self explanatory.

Brandon

-----Original Message-----
From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
Sent: Tuesday, May 15, 2001 1:10 PM
To: tomcat-user@jakarta.apache.org
Subject: upload 1 GB files


Hi,
We have a requirement from our website for the users to be
able to upload 1GB files.

Since the files are huge, can anyone suggest, what is
the best approach.

Right now, I am using JSPSmartUpload.  I would like
to know if JSPSmartUpload can handle 1GB files.

Please suggest.

Thanks
-Aswath





>From: "Egidijus Drobavicius" <eg...@vb.lt>
>Reply-To: tomcat-user@jakarta.apache.org
>To: <to...@jakarta.apache.org>
>Subject: POST File: weird situation
>Date: Tue, 15 May 2001 17:40:04 +0200
>
>Hello,
>
>I've ran into strange a bit situation:
>i have to do file upload. I did this and there is no question about that.
>The question is:
>i want first verify all the data and then ask the user to confirm it. So i
>get all inputs and do my check, then i'd like to generate a page that has
>only 2 buttons submit and cancel, and on submit upload the data. Here the
>problem comes. Is it possible to do that? I mean is there any way of doing
>such a form? There is no attribute hidden for input type file. Is there any
>way at least to set the value for this field?
>I've tried using value="myfilename", but this does not work.
>
>The problem can be solved by parsing all the data in the POST data request.
>But this stream contains useful data and  I can not later retrieve it. E.g
>stream has <some_my_value> <one_more_value> <file_itself> <value>
><value_again> <another_file>
>I am not sure if the request can be served without knowledge about fields
><value> and <value_again>. However, to get these values i must skip maybe
>useful information. I can not use temporary files for storing it.
>
>Huh, if someone got what I am talking about, could you please share your
>possible ideas with me.
>
>Thanks,
>Egidijus
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com