Solved

Uploading large Files

Posted on 2004-04-09
3
181 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

756 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