【求助】如何使用swfupload上传超过1g文件?

在.net2.0项目中应用swfupload,发现我的设置只能上传30M以下文件,超过30M就会弹出404错误提示。以下是我的设置:

Web.Config中:

<httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>

Default.aspx中:

 1      < script type = " text/javascript " >
 2          var  swfu;
 3         window.onload  =   function  ()  {
 4            swfu = new SWFUpload({
 5                // Backend Settings
 6                upload_url: "upload.aspx",    // Relative to the SWF file
 7                post_params : {
 8                    "ASPSESSID" : "<%=Session.SessionID %>"
 9                }
,
10
11                // File Upload Settings
12                file_size_limit : "0",    // 无限制
13                file_types : "*.*",
14                file_types_description : "JPG Images",
15                file_upload_limit : "0",    // Zero means unlimited
16
17                // Event Handler Settings - these functions as defined in Handlers.js
18                //  The handlers are not part of SWFUpload but are part of my website and control how
19                //  my website reacts to the SWFUpload events.
20                file_queue_error_handler : fileQueueError,
21                file_dialog_complete_handler : fileDialogComplete,
22                upload_progress_handler : uploadProgress,
23                upload_error_handler : uploadError,
24                upload_success_handler : uploadSuccess,
25                upload_complete_handler : uploadComplete,
26
27                // Flash Settings
28                flash_url : "swfupload/swfupload_f9.swf",    // Relative to this file
29
30                custom_settings : {
31                    upload_target : "divFileProgressContainer"
32                }
,
33
34                // Debug Settings
35                debug: false
36            }
);
37        }

38      < / script>

不知道是哪里设置有问题?各位指点一下谢谢!!

 附件中是我的代码文件,请指正

http://files.cnblogs.com/luyingxue/SwfUploadTestSite.rar

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值