Hi
I implement the swfupload by ext and asp.net.mvc. The file can be uploaded when I selected the small file(about 2m). The file can't be uploaded when file size was large. The following was setting:
items: [
{
xtype: 'swfupload-ext',
//服务程序设置
upload_url: "/ReportArticle/UploadFiles",
post_params: {
"id": this.articleID ? this.articleID : ''
},
//上传文件设置
file_size_limit: "500 MB",
file_types: "*.*",
file_types_description: "All Files",
file_upload_limit: 0, // Zero means unlimited
// 按钮设置
button_image_url: "../../Scripts/Uploads/images/swfupload/icons/button_add.png", //慎重改动
button_placeholder_id: "spanButtonPlaceholder", //慎重改动
button_width: 70, //慎重改动
button_height: 22, //慎重改动
button_text: '', //慎重改动
button_text_style: '.x-buttonSmall { font-size: 14pt;vertical-align;middle; }', //慎重改动
// Flash程序设置
flash_url: "../../Scripts/Uploads/swfupload.swf",
flash9_url: "../../Scripts/Uploads/swfupload_FP9.swf",
debug: false
}]
June 25, 2010 - 4:55pm
thanks
June 25, 2010 - 4:56pm
Thanks