Solved

Uploading large Files

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wget saving web page help 4 94
PHP Error Settings 12 80
Can't connect to WAMP server 5 49
PHP: Insert Data into MySQL 5 39
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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

786 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