如何在mvc4中上传文件 [英] how to upload file in mvc4
本文介绍了如何在mvc4中上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在mvc4中创建一个文件上传,当我上传文件时(如果文件已经上传,那么该文件已存在的消息是否要替换此文件)
i Want to create a file upload in mvc4 and when i will upload file (if file already uploaded then a message that this file already exist do you want to replace this file)
推荐答案
你可以使用 DropZoneJs 。
什么是DropZoneJs?
You can use DropZoneJs for that.
What is DropZoneJs ?
Quote:
DropzoneJS是一个开源库,提供拖放文件上传图片预览。
DropzoneJS is an open source library that provides drag'n'drop file uploads with image previews.
点击此处查看更多信息: DropZoneJs
使用ASP.NET MVC处理来自Dropzone.js的文件上传
这篇关于如何在mvc4中上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文