public void RenameFile(string existingFile, string newFile) { if (WININET.FtpRenameFile(_hConnect, existingFile, newFile) == 0) { Error(); } }