日期:2014-05-17  浏览次数:20837 次

C# winfrom如何下载服务器上的文件
我现在知道服务器上文件的路径,请问如何下载下来的啊?用什么方法的

------解决方案--------------------
WebClient wc = new WebClient(); 
wc.DownloadFile("http://dotnet.aspx.cc/Images/logoSite.gif","c:\\xx.gif");
------解决方案--------------------
Process.Start("http://dotnet.aspx.cc/Images/logoSite.gif");
------解决方案--------------------
ftpwebrequest
WebClient webClient = new WebClient(); 
webClient.DownloadFile(URL,Path); 

------解决方案--------------------
一楼正解