如何停止文件上传过程? [英] how to stop file upload process?

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

问题描述


在我的视频上传功能中,如果我上传了大尺寸的视频,并且在按下上传按钮后我无法停止上传过程.直到该视频上传网页继续加载.所以问题是如何触发上传过程?


in my video uploading function if i upload a big size of video and after pressing upload button i am unable to stop upload process. until that video get uploaded webpage continues loaded. so the question is how to intrupt the upload process?

推荐答案

如果您直接控制上传过程,则可以在一次中断中编写.但这只有在您拥有正确的特权后才能起作用.
If you have direct control of the upload procedurals you could write in an interupt. But this will only work if you have the correct privelages.



您遇到的问题是IIS将文件完全上传到工作位置,然后再向您的应用程序提交请求.

IIS asp.net mvc部分? [ http://www.uploadify.com/ [ ^ ]

祝你好运

The issue you are having is that IIS fully uploads the file to a working location before your application is handed the request.

IIS asp.net mvc partial?[^] file upload

http://www.uploadify.com/[^]

Best Luck


这篇关于如何停止文件上传过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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