Upload large web files

Source: Internet
Author: User
The general scheme for uploading large web files is to process them at the httpmodule level. There are a lot of technical documents online, so it is not cumbersome.
To use this solution, you must set some configuration items in Web. config and run the client to upload large files:
This is the IIS configuration, and the following is the iis7:
Configuration => system. webserver => Security => requestfiltering => requestlimits
Several attributes of requestlimits:
Maxallowedcontentlength: maximum size of data to be uploaded. The default unit is byte: 30000000, about 28 m.
The maximum URL parameter length of maxquerystring. Default Value: 2048
The maximum URL Length of maxurl. Default Value: 4096

This is for ASP. net configuration:
you also need to set system. in the web, the unit of maxrequestlength from httpruntime to maxallowedcontentlength is KB. The default value is 4 MB, which is why Asp.net also has a default page request that cannot exceed 4 MB.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.