Solved

Uploading large Files

Posted on 2004-04-09
3
177 Views
Last Modified: 2011-09-20
Hi guys,

Would you please help me? I'm trying to implement a file upload functionality in my Java application which uses Apache.

What would be the best implementation for uploading large files say 1MB.

Thanks in advance :-)
0
Comment
Question by:marshia
3 Comments
 
LVL 27

Accepted Solution

by:
BigRat earned 250 total points
ID: 10812505
You'll need to read RFC 1867 and 2388 first.

The normal way is to get an InputStream on stdin (from the POST request) and decode the incoming multipart/form data and write to the file at the same time.

I do this in my app server (not in Java) and upload via HTTP files of over 2MB.
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 11760930
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

    ACCEPT: BigRat

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Periwinkle
EE Cleanup Volunteer
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now