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 );
};