public static void FtpRename(string source, string destination, string userName, string password) { FtpWebRequest request = (FtpWebRequest)WebRequest.Create(source); request.Method = WebRequestMethods.Ftp.Rename; request.Credentials = new NetworkCredential(userName, password); request.RenameTo = destination; // "folder2/file.txt"; request.GetResponse().Close(); }