,如果是几兆或者几十兆的
文件就用基本的
上传方式就可以了,但是如果是大
文件上传的话最好是用分片
上传的方式。我这里主要是使用在客户端进行分片读取到服务器段,然后保存,到了服务器段读取完了之后将分片数据进行组合。
2.前端代码如下:
rush:js;">
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadTest2.aspx.cs" Inherits="Html5UploadTest.UploadTest2" %>
<
Meta charset="utf-8">
HTML5大文件分片上传示例
<%--