0
我想使用webclient的DownloadFile功能,但我用断点来查看哪一行O出错。当DownloadFile时,它只是去捕获块。webclient异常已被调用的目标引发
try
{
string myStringWebSource = this.curFtpIp + FtpCuPath + "/" + FtpdfName + "/" + this.lbl.Text;
WebClient client = new WebClient();
client.Credentials = new NetworkCredential(this.FtpUserID, this.FtpPassword);
client.DownloadFile(myStringWebSource, SaveFile);
}
catch (Exception ex)
{ MessageBox.Show(ex.Message); }
finally { }
错误是什么样的FACED ?????????? – 2013-03-09 06:37:13