文件上传复杂性 [英] File Uploading with Complexity

查看:92
本文介绍了文件上传复杂性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我要求用户可以从页面上传文件(文件大小可能是50 MB或更多)。通过正常上传或ajax上传,文件大小越大,花费时间。



有没有办法,一旦选择了文件,上传就会在后台进行并且用户可以浏览多个页面或任何其他页面。



当上传完成后,会出现背景通知或触发事件。



任何人都可以帮忙吗?



谢谢

Hi Everyone,

I have requirement where user can upload files from a Page (file size could be 50 MB or more). With normal upload or ajax upload its going to take time when file size is bigger.

Is there any way, that once a file is selected, the uploading goes in background and user can browse multiple pages or any other pages.

and when the uploading completes in background notification appears or an event is fired.

Can anyone help with this ??

Thanks

推荐答案

你好,



解决问题1.



Hi,

Solution for Problem 1.

<system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="SIZE IN KB"/>
            </requestFiltering>
        </security>
</system.webServer>







解决问题2& 3.



使用进度条上传ASP.NET文件 [ ^ ]


这篇关于文件上传复杂性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆