会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
初出茅庐
我的技术之路....每天前进一小步
博客园
首页
新随笔
联系
管理
订阅
2006年6月21日
利用 File.GetAttributes 返回值时遇到的小插曲
摘要: 今天写了段下载文件的代码,由于一些文件是只读属性,因此需要 File.GetAttributes 来判断其属性并更改,于是直接写了 if(File.GetAttributes(Server.MapPath(filedownloadname) == FileAttributes.ReadOnly) File.SetAttributes(Server.MapPath(filedownloa...
阅读全文
posted @ 2006-06-21 15:17 Cheek G
阅读(420)
评论(0)
推荐(0)
编辑