Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload Max Size  RSS feed

 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am Using Multipart Request to Upload files and using streams to write the files the Max size I am able to Upload is 10 MB I am using Jrun 3.0 is this a limitation due to the version of the server i am using, bcos i am able to upload upto 25 MB using Jrun 3.1 can some ome throw more light on this !!!
 
Onkar Shendge
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of error do you get when you try to upload more than 10MB and 25MB on Jrun 3.0 and 3.1 respectively.

Since you are writting your own code, there shouldn't be upper limit as such. What must be blocking you is browser side timeout or server side timeout. please share the error that you are getting.
 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to only see message, "Page cannot be displayed" for files above 18 MB in Jrun version 3.0 immediately, we have changed heap size in Jrun 3.1 and we got above this problem, we did the same thing 3.0 but we could not get above this error, we havent set and session expiry time its default browser setting of 30 mins but we get error much before that
 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Jrun expert help me on this !!!
 
Sri Anand
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghunandan Mamidala, what is the point of your post?
 
Minh Tran
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you should read request's HEADER first for checking upload file's size, it will faster instead you have to wait all form data upload to server and read the file. Because some webservers havae period for request processing .
After reading file data, you can create a Thread to write it out on server and release client's state.

It will faster
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!