FTP server returned 500 error with ASP.NET C#
- by ffffff
I 'm developing FTP exe ASP.NET?C#2.0 .
but I FTP server returned 500 error
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
What's wrong?