FtpWebRequest reqFTP; Uri serverFile = new Uri("ftp://10.14.21.80/UKSALES/TechM.war"); reqFTP = (FtpWebRequest)FtpWebRequest.Create(serverFile); reqFTP.Method = WebRequestMethods.Ftp.Rename; reqFTP.UseBinary = true; reqFTP.Credentials = new NetworkCredential("anonymous", ""); reqFTP.RenameTo = "ftp://10.14.21.80/UKSALES/Backup\\TechM.war"; FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)