C# WebClient下载ftp文件

设置登录凭证name为anonymous

1  _clientDownload = new WebClient();
2 _clientDownload.Credentials = new NetworkCredential("anonymous", "");

 

posted @ 2018-02-05 11:07  文帅  阅读(240)  评论(0编辑  收藏  举报