Solved

Uploading large Files

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHPmailer and exchange online(Office365) 3 438
Problem to get function 52 111
htaccess restrict subdomain 4 129
linux apache localhost dev laptop 5 52
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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 …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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