Horje
delete file from FTP c# Code Example
delete file from FTP c#
private string DeleteFile(string fileName)    
{    
   FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://www.server.com/" + fileName);    
   request.Method = WebRequestMethods.Ftp.DeleteFile;    
   request.Credentials = new NetworkCredential("username", "password");    
    
   using (FtpWebResponse response = (FtpWebResponse)request.GetResponse())    
   {    
      return response.StatusDescription;        
   }    
}    




Csharp

Related
add object to list c# Code Example add object to list c# Code Example
c# palidrone Code Example c# palidrone Code Example
what is the meaning of ?? in c# Code Example what is the meaning of ?? in c# Code Example
decimal to string c# Code Example decimal to string c# Code Example
regular expression for email in c# Code Example regular expression for email in c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8