现在,我在我的ASP Net MVC应用程序中使用plupload。我一直在向服务器(我的控制器)发送数据, 代码如下: 谢谢您的帮助;
engine = sqlalchemy.create_engine('mssql+pyodbc://'+user+':'+password+'@'+host+':'+port+'/'+database+'?'\
+'driver=SQL+Server+Native+Client+11.0')
videoUploadHandler.ashx
var blob = "";
var fileObject = new File([blob], fileName, {
type: 'video/mp4'
});
var uploader = new plupload.Uploader({
runtimes: 'html5,html4',
url: "/videoUploadHandler.ashx",
chunk_size: '5mb',
multi_selection: true,
unique_names: false,
filters: {
mime_types: [
{ title: "video files", extensions: "avi,mp4,mov,mwm,mkv" }
]
}
});
uploader.init();
uploader.files.push(fileObject);
uploader.start();