2012年10月19日

C#WebService下载文件

摘要: WebService项目中的Web.config配置代码 WebService项目中的ImageService.asmx代码 /// /// Webservice中的下载文件处理函数 /// /// 文件路径 /// 返回文件流 [WebMethod(Description = "下载服务器站点文件,传递文件相对路径")] public byte[] DownloadFile(string strFilePath) { FileStream fs = null; string CurrentUploadFolderPath = Server.MapPath(Configur 阅读全文

posted @ 2012-10-19 14:50 风灵溪清 阅读(1353) 评论(0) 推荐(0)

导航