首页 新闻 会员 周边

ZipFile压缩解压问题

0
悬赏园豆:5 [已关闭问题] 关闭于 2015-07-22 11:00

 using (ZipFile zip = new ZipFile())
            {
                // add this map file into the "images" directory in the zip archive 把这个PNG文件添加到zip档案的"images"目录下
                zip.AddFile("Fuploads\\5.png", "images");
                // add the report into a different directory in the archive 然后把PDF文件添加到zip档案的"files"目录下,把ReadMe.txt放到根目录
               // zip.AddFile("c:\\Reports\\2008-Regional-Sales-Report.pdf", "files");
               // zip.AddFile("ReadMe.txt");
                // 把zip档案保存为MyZipFile.zip
                zip.Save("MyZipFile.zip");
             }

用了三方Ionic.Zip 做一个压缩测试 结果 报错

 

对路径“C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\DotNetZip-lxjlzand.tmp”的访问被拒绝。

没在10。0下找到DotNetZip-lxjlzand.tmp 不知道原因了 求解 谢谢

谁用多ZipFile的可以留下QQ 有几个问题请教 感谢

差生的主页 差生 | 初学一级 | 园豆:3
提问于:2015-07-22 10:39
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册