Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File upload limit in HTTP

Is there any limit theoretically on the size of file that can be uploaded by a client using the browser's file upload using HTML form?

I am posing this because Flash has a drawback where the largest file size you can upload is lesser than the size of available RAM. I am wondering if there is any such restrictions with the browsers...

like image 989
jeffreyveon Avatar asked Dec 17 '09 15:12

jeffreyveon


People also ask

What is the maximum size of file uploading?

The maximum file size limit for uploads to Box varies depending on your account type: Free personal: 250 MB. Starter: 2 GB. Business: 5 GB.

How can I send large files via HTTP?

We have three ways to shorten the time sending extensive data by HTTP: compress data. send chunked data. request data in a selected range.

What is the maximum file size for API?

Answer. The maximum size of the files for upload using the REST API is 100MB.

Is 6 upload file size limit?

The default maximum file upload size in IIS6 is 4 MB and 28.6 MB for IIS7.


2 Answers

If your file upload is larger than 2Gb you will run into problems with HTTP uploads.

The "available RAM" limit suggests that the file data is being sucked all into memory, which is very inefficient especially when the file size grows. Streams are much more efficient for this.

like image 80
mrvisser Avatar answered Nov 02 '22 18:11

mrvisser


Here is the result of a study regarding the upload depending on web browsers.

For the moment, only Google Chrome & Opera are able to perform an upload of more than 4GB.

like image 30
PixEye Avatar answered Nov 02 '22 20:11

PixEye