Question about IIS's limit on upload size: 200 K (when swfupload_asp is used, the limit is changed, and the IIS size needs to be changed)

Source: Internet
Author: User

1. The win2003 server uploads kb by default. The solution is as follows:

Advanced "service" to disable the IIS Admin Service

The following message is displayed: World Wide Web Hing service and http ssl will also be stopped.

Find metabase. xml under Windows/system32/inetsrv/and open it in notepad.

Edit the aspmaxrequestentityallowed to change it to the required value. The default value is 204800, that is, 200 K.

Restart the IIS Admin Service!

2. During programming, only kb can be uploaded. You can modify the file by yourself.

 

 

Window. onload = function (){
VaR settings = {
Flash_url: "swfupload/swfupload.swf ",
Upload_url: "Upload. asp ",

File_size_limit: "100000 MB ",
File_types :"*.*",
File_types_description: "All Files ",
File_upload_limit: 100,
File_queue_limit: 0,
Custom_settings :{
Progresstarget: "fsuploadprogress ",
Cancelbuttonid: "btncancel"
},
Debug: false,

// Button settings
Button_image_url: "images/filebotton.png ",
Button_width: "65 ",
Button_height: "29 ",
Button_placeholder_id: "spanbuttonplaceholder ",
Button_text :'',
Button_text_style: ". thefont {font-size: 16 ;}",
Button_text_left_padding: 12,
Button_text_top_padding: 3,

// The event handler functions are defined in handlers. js
File_queued_handler: filequeued,
File_queue_error_handler: filequeueerror,
File_dialog_complete_handler: filedialogcomplete,
Upload_start_handler: uploadstart,
Upload_progress_handler: uploadprogress,
Upload_error_handler: uploaderror,
Upload_success_handler: uploadsuccess,
Upload_complete_handler: uploadcomplete,
Queue_complete_handler: queuecomplete // queue plugin event
};

Swfu = new swfupload (settings );
};

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.