摘要: WebClient client = new WebClient();第一种string URLAddress = @"http://files.cnblogs.com/x4646/tree.zip";string receivePath=@"C:\";client.DownloadFile(URLAddress, receivePath + System.IO.Path.GetFileName(URLAddress));就OK了。第二种 Stream str = client.OpenRead(URLAddress);StreamReader read 阅读全文
posted @ 2013-04-11 15:51 x4646 阅读(34162) 评论(1) 推荐(1) 编辑