What is the maximum file upload size with xmlhttprequest level 2?

放肆的年华 提交于 2019-11-29 15:34:10
Rob W

The XMLHttpRequest specification does not mention any limits on the upload size.

In practise, upload requests are limited by:

  1. The number of simultaneous uploads: How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?
  2. The configured limit on the web server, eg. LimitRequestBody on Apache, client_max_body_size on Nginx.
  3. The limits in the server-side scripting environment, e.g. upload_max_filesize and post_max_size in PHP.
  4. Memory limits (bugs, client-side or server-side).

See also:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!