文件名称:slUpload
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 67kb
- 下载次数:
- 0次
- 提 供 者:
- Chan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
silverlight漂亮的上传控件源码
在网站根目录web.config里配置上传文件夹,注意:folder的value要写成windows资源管理器形式例如:
upload\audio\chenxumi,而且是相对网站根目录而言。因为这里是分块上传的每块大小为4MB。所以maxRequestLength设为4100kb,
至于为什么不是4096kb是因为上传时还附带了很多其他信息,例如当前文件的文件名、文件是否为第一次上传、文件是否是最后一块上传、文件此时的偏移量等信息,显然这种最大上传限制很有弹性,比起传统的一次性上传大小设置更有活性。-silverlight nice upload control source on the site where the root directory web.config configuration upload folder, and pay attention: folder' s value to be written in the form of windows Explorer, for example: upload \ audio \ chenxumi, but also in terms of relative root of the site . Because it is uploaded each sub-block size 4MB. So maxRequestLength set 4100kb, as to why not is because the upload 4096kb Shihai with a lot of other information, such as the current file name, file is uploaded for the first time, the file is the last one uploaded the file at this time partial shift the amount of other information, is clearly the largest upload limit that is very flexible, compared to the traditional one-time upload size settings and more active.
在网站根目录web.config里配置上传文件夹,注意:folder的value要写成windows资源管理器形式例如:
upload\audio\chenxumi,而且是相对网站根目录而言。因为这里是分块上传的每块大小为4MB。所以maxRequestLength设为4100kb,
至于为什么不是4096kb是因为上传时还附带了很多其他信息,例如当前文件的文件名、文件是否为第一次上传、文件是否是最后一块上传、文件此时的偏移量等信息,显然这种最大上传限制很有弹性,比起传统的一次性上传大小设置更有活性。-silverlight nice upload control source on the site where the root directory web.config configuration upload folder, and pay attention: folder' s value to be written in the form of windows Explorer, for example: upload \ audio \ chenxumi, but also in terms of relative root of the site . Because it is uploaded each sub-block size 4MB. So maxRequestLength set 4100kb, as to why not is because the upload 4096kb Shihai with a lot of other information, such as the current file name, file is uploaded for the first time, the file is the last one uploaded the file at this time partial shift the amount of other information, is clearly the largest upload limit that is very flexible, compared to the traditional one-time upload size settings and more active.
相关搜索: Silverlight
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SLUploadSite\Default.aspx
............\Default.aspx.cs
............\SLUpload\ClientBin\upload.zip
............\........\FileReceive.ashx
............\........\Silverlight.js
............\........\SLUpload.ascx
............\........\SLUpload.ascx.cs
............\Web.config
51aspx源码必读.txt
SLUploadApp.sln
SLUploadApp.suo
........\App.xaml
........\App.xaml.cs
........\Bin\Debug\AppManifest.xaml
........\...\.....\SilverlightApplication5.dll
........\...\.....\SilverlightApplication5.pdb
........\...\.....\SilverlightApplication5.xap
........\...\.....\TestPage.html
........\MainPage.xaml
........\MainPage.xaml.cs
........\obj\Debug\App.g.cs
........\...\.....\bar.g.cs
........\...\.....\MainPage.g.cs
........\...\.....\SilverlightApplication5.csproj.FileListAbsolute.txt
........\...\.....\SilverlightApplication5.dll
........\...\.....\SilverlightApplication5.g.resources
........\...\.....\SilverlightApplication5.pdb
........\...\.....\SLUpload.csproj.FileListAbsolute.txt
........\...\.....\XapCacheFile.xml
........\Properties\AppManifest.xml
........\..........\AssemblyInfo.cs
........\SLUpload.csproj
........\SLUpload.csproj.user
........\obj\Debug\Refactor
........\...\.....\TempPE
........Site\SLUpload\ClientBin
........\Bin\Debug
........\obj\Debug
........Site\SLUpload
............\upload
........\Bin
........\obj
........\Properties
SLUploadSite
SLUpload
............\Default.aspx.cs
............\SLUpload\ClientBin\upload.zip
............\........\FileReceive.ashx
............\........\Silverlight.js
............\........\SLUpload.ascx
............\........\SLUpload.ascx.cs
............\Web.config
51aspx源码必读.txt
SLUploadApp.sln
SLUploadApp.suo
........\App.xaml
........\App.xaml.cs
........\Bin\Debug\AppManifest.xaml
........\...\.....\SilverlightApplication5.dll
........\...\.....\SilverlightApplication5.pdb
........\...\.....\SilverlightApplication5.xap
........\...\.....\TestPage.html
........\MainPage.xaml
........\MainPage.xaml.cs
........\obj\Debug\App.g.cs
........\...\.....\bar.g.cs
........\...\.....\MainPage.g.cs
........\...\.....\SilverlightApplication5.csproj.FileListAbsolute.txt
........\...\.....\SilverlightApplication5.dll
........\...\.....\SilverlightApplication5.g.resources
........\...\.....\SilverlightApplication5.pdb
........\...\.....\SLUpload.csproj.FileListAbsolute.txt
........\...\.....\XapCacheFile.xml
........\Properties\AppManifest.xml
........\..........\AssemblyInfo.cs
........\SLUpload.csproj
........\SLUpload.csproj.user
........\obj\Debug\Refactor
........\...\.....\TempPE
........Site\SLUpload\ClientBin
........\Bin\Debug
........\obj\Debug
........Site\SLUpload
............\upload
........\Bin
........\obj
........\Properties
SLUploadSite
SLUpload