I have below code for deleting the file from ftp, i am getting a error.
"The remote server returned an error: (530) Not logged in. " what could be reason. static void DeleteFile(string serverUri, string userid, string password)
FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverUri);
request.Credentials =new NetworkCredential("userid", "password");
request.Method = WebRequestMethods.Ftp.DeleteFile;
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
View Complete Post