C# WEB/HTTP大文件与文件夹上传

上传者: cfantasy | 上传时间: 2021-06-21 13:37:21 | 文件大小: 7.75MB | 文件类型: RAR
这是我个人用C#写的一个通过WEB/HTTP上传超大文件或整个文件夹程序,最初是为了某项目写的一段程序。但这个项目的上传功能最终没有落实这个需求,所以也没在进一步做下去了,但整个超大文件和文件夹的上传功能程序是完成了的。我测试过最大超过4G的文件都可以上传,文件夹为无限级文件上传的。

文件下载

资源详情

[{"title":"( 43 个子文件 7.75MB ) C# WEB/HTTP大文件与文件夹上传","children":[{"title":"20180118","children":[{"title":"fsweb","children":[{"title":"Web.config <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"UploadFile","children":null,"spread":false},{"title":"fserv.ashx <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"fserv","children":[{"title":"packages.config <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"fserv.csproj <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"fserv.ashx.cs <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"fserv.csproj.user <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"PublishProfiles","children":[{"title":"fserv.pubxml.user <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"fserv.pubxml <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"fserv.ashx <span style='color:#111;'> 83B </span>","children":null,"spread":false}],"spread":true},{"title":"fs","children":[{"title":"Program.cs <span style='color:#111;'> 16.69KB </span>","children":null,"spread":false},{"title":"fs.csproj <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"fs.csproj.user <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"fs.sln <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"packages","children":[{"title":"Microsoft.Net.Compilers.1.0.0","children":[{"title":"tools","children":[{"title":"System.Reflection.Metadata.dll <span style='color:#111;'> 256.73KB </span>","children":null,"spread":false},{"title":"vbc.exe <span style='color:#111;'> 40.63KB </span>","children":null,"spread":false},{"title":"Microsoft.VisualBasic.Core.targets <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.CSharp.dll <span style='color:#111;'> 3.82MB </span>","children":null,"spread":false},{"title":"Microsoft.CSharp.Core.targets <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.dll <span style='color:#111;'> 1.64MB </span>","children":null,"spread":false},{"title":"Microsoft.CodeAnalysis.VisualBasic.dll <span style='color:#111;'> 4.67MB </span>","children":null,"spread":false},{"title":"System.Collections.Immutable.dll <span style='color:#111;'> 199.75KB </span>","children":null,"spread":false},{"title":"csc.exe <span style='color:#111;'> 40.63KB </span>","children":null,"spread":false},{"title":"Microsoft.Build.Tasks.CodeAnalysis.dll <span style='color:#111;'> 83.20KB </span>","children":null,"spread":false},{"title":"VBCSCompiler.exe.config <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"VBCSCompiler.exe <span style='color:#111;'> 62.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"ThirdPartyNotices.rtf <span style='color:#111;'> 10.12KB </span>","children":null,"spread":false},{"title":"Microsoft.Net.Compilers.1.0.0.nupkg <span style='color:#111;'> 4.16MB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"Microsoft.Net.Compilers.props <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0","children":[{"title":"content","children":[{"title":"web.config.uninstall.xdt <span style='color:#111;'> 742B </span>","children":null,"spread":false},{"title":"web.config.install.xdt <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"tools","children":[{"title":"uninstall.ps1 <span style='color:#111;'> 9.91KB </span>","children":null,"spread":false},{"title":"init.ps1 <span style='color:#111;'> 11.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0.nupkg <span style='color:#111;'> 33.25KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"net45","children":[{"title":"Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll <span style='color:#111;'> 28.66KB </span>","children":null,"spread":false},{"title":"Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"build","children":[{"title":"Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props <span style='color:#111;'> 324B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"App.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • xiaoyi85117 :
    能用,但是稳定性还需要再测试下,拿来参考不错
    2021-05-11
  • zhouwei8879576 :
    无效果!不过还是要感谢楼主的分享!
    2019-03-21
  • u010335319 :
    下载了,怎么运行没什么反应,也不知道能不能上传,出现一个控制窗口没了,感觉上传4g效果没看到
    2018-05-23
  • boonya :
    不知道靠不靠谱
    2018-03-20
  • qiaoliang_er :
    正好需要大文件上传,下载下来看看好不好用
    2018-03-07

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明