original_string: public function rename($currentName, $newName)
      {
          $result = @ftp_rename($this->connection, $currentName, $newName);
  
          return $result;
      }
code: public function rename($currentName, $newName)
      {
          $result = @ftp_rename($this->connection, $currentName, $newName);
  
          return $result;
      }
code_tokens: public function rename ( $ currentName , $ newName ) { $ result = @ ftp_rename ( $ this -> connection , $ currentName , $ newName ) ; return $ result ; }
docstring: Renames a file or a directory on the FTP server
  
  @param string $currentName
  @param string $newName
  
  @return bool
docstring_tokens: Renames a file or a directory on the FTP server