关于Extjs 上传大文件的问题
js 关键代码
if (form.getForm().isValid()) {
var tags = $.trim(Ext.getDom(win.findByType("textfield")[1].el).value);
form.getForm().submit({
url: url,
method: 'POST',
waitMsg: parms.waitMsg,
success: function(form, action) {
callFunction(tags, action.result.name, action.result.changename, action.result.size);
win.hide();
},
failure: function(form, action) {
}
});
}
web.config
<httpRuntime executionTimeout="600" maxRequestLength="951200" useFullyQualifiedRedirectUrl="true" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>
目前我上传40M以上的文件就会报错.在我服务器端接收到的文件就是空的.
那位朋友遇到过,给写意见!谢谢.