最近在做一个silverlight项目,要求大文件夹上传和下载,首先要先将文件夹压缩再上传,请问各位有谁能赐教一下,万分感谢!
遍历文件,使用http://slsharpziplib.codeplex.com/ 压缩就行,参考 http://www.codeproject.com/KB/silverlight/MVVMFileDragDrop.aspx
用第三方控件最简单,参考 http://blogs.infragistics.com/blogs/anton_staykov/archive/2010/04/28/implementing-simple-file-upload-using-silverlight-4-drag-amp-drop-feature-and-infragistics-compression-library.aspx