The default ASP file size limit is 200 kb.

Source: Internet
Author: User
Tags metabase

By default, server is used. createobject ("scripting. fileSystemObject ") when the size of the object to be uploaded exceeds the default size limit, the related file suffix will be blank and the size will also be 0

 

For how to modify the default settings, see http://www.banmanpro.com/support2/File_Upload_limits.asp

 

Reference the original article in the following section:

 

 

When trying to upload files over 200kb on IIS 6 the file may never upload and you either get an error or are sent to a blank screen. by default Windows 2003 Server limits file uploads to about 200kb in size. to overcome this limit you must edit the IIS metabase. XML file.
  1. Before you can edit the metabase. XML file you must tell IIS to allow you to edit the file. in IIS, right click the name of the server and select Properties. check "Enable direct metabase edit ".

  2. Find the metabase. xml file located in c: \ windows \ sytem32 \ inetserv and open the file in notepad.
  3. SearchAspmaxrequestentityallowedAnd increase the value. The default value is 204800 (200 K). Setting the value to 1000000 will allow 1 MB file uploads.
  4. You may now wish to uncheck the IIS property called "Enable direct metabase edit ".

To increase the File Download size limit, repeat all steps above but in step 3 find the parameter calledAspbufferinglimit. The default download limit is 4 MB.

Related Article

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.