Re: File upload 250 MB Discussion

2008-08-28 Thread gary gilbert
You do realize of course that this is a Coldfusion mailing list and not a 
Struts and/or JSP mailing list?



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311703
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: File upload 250 MB Discussion

2008-08-26 Thread ashwini kulkarni
Hi All
I am trying to upload the file of 1kb to 250MB. 
I had developed 2 applications
1In Struts framework (one application)
2 and using servlets and JSP (second application)

I am using second application (using servlets and JSP ) 
when i am trying to upload locally on my machine it is working very fine and 
able to upload as much as i can
so for testing i have to upload MAX till 250MB(because it is client requirement)

All these experiments are on the development server and External IP (using 
internet)
In my application i am splitting the file say example: I am tring to upload 
100Mb of file 
step 1 on the server side i am splitting the file of 100Mb in to 1Mb and 
saving in the Temporary folder
step 2 I am joining the splitted files and then again joining to the orignal 
file (at the time of upload ) to the destination location
step 3  Deleting the temporay folder after the joining is done 

So These are the results on Development Server (L.A.N) local area network
For ---13Mb (Time Taken) 3 minutes
For ---25Mb (Time Taken) 6 minutes
For ---56Mb (Time Taken) 11 minutes
For ---100Mb (Time Taken) 18 minutes
For ---150Mb (Time Taken) 30 minutes
For ---250Mb (Time Taken) 58 minutes



Similiarly
These are the results on External IP (through internet)
For ---20Mb (Time Taken) 5 minutes
For ---56Mb (Time Taken) 11 minutes
For ---78Mb (Time Taken) 20 minutes

after that if i am tring to upload more than this i am unable to upload 
and getting this exception at the server LOG

1org.apache.commons.fileupload.FileUploadException: Processing of 
multipart/form-data request failed. Stream ended unexpectedly

2org.apache.commons.fileupload.FileUploadException: Processing of 
multipart/form-data request failed. Connection reset


Can any one help me how to make this programm efficient and error free
i cannot use FTP because i have to create a port which is not permitted by the 
client
can any one help me out with the execellent solution



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311652
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4