0
我正在开发FTP EXE ASP.NET,C#2.0。FTP服务器返回500错误与ASP.NET C#
,但我的FTP服务器返回500错误
FtpWebRequest myReq;
FtpWebResponse myRes;
myReq = (FtpWebRequest)WebRequest.Create("ftp://test/aaa.txt");
myReq.Credentials = new NetworkCredential("xxxx", "xxxx");
myReq.Method = WebRequestMethods.Ftp.DownloadFile;
myRes = (FtpWebResponse)myReq.GetResponse(); // here error occured
有什么不对?
500是服务器错误。询问服务器。查看服务器上的事件日志。 – 2009-07-07 10:48:04