File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Uploading LARGE files using Tomcat4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading LARGE files using Tomcat4.0" Watch "Uploading LARGE files using Tomcat4.0" New topic

Uploading LARGE files using Tomcat4.0

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi all friends,
Iam uploading about 60mb file to my remote server using unique IP and that remote server is Tomcat4.0(OS WinNT4.0)is Iam writing in file through my servlet in the form of block of 1mb. I want to increase the speed of writing of tomcat server.Can any one plz guide me how i can do that.I have following two options in my mind :-
1. By increasing the RAM of that computer(OS is WinNT4.0)on which tomcat is residing.
2. By decreasing the block size(i have tried this option but couldn't slove my problem).
Is there any configuration require in tomcat's configuration file(server.xml).Plz suggest me .
Is there any limitaion in tomcat about size of file.
[ February 18, 2003: Message edited by: Bikash Paul ]

[ Edited by MC - changed title from "Configuration of Tomcat 4.0??"
With the old title, I would have moved it to Apache/Tomcat ]
[ February 18, 2003: Message edited by: Mike Curwen ]
Gopi Balaji
Ranch Hand

Joined: Jan 23, 2003
Posts: 84
Is there any factor preventing the use of FTP?
Consider Paul's rocket mass heater.
subject: Uploading LARGE files using Tomcat4.0
It's not a secret anymore!