parameters: (self, old_path, new_path)
docstring: Rename (move) a file on the remote machine.
  
          :param old_path: Path to file to be renamed
          :param new_path: Path to new file name
docstring_summary: Rename (move) a file on the remote machine.
docstring_tokens: Rename ( move ) a file on the remote machine .
function: def rename(self, old_path, new_path):
          """Rename (move) a file on the remote machine.
  
          :param old_path: Path to file to be renamed
          :param new_path: Path to new file name
  
          """
  
          self._simple_command(
              "rename {0} {1}\n".format(quote(old_path), quote(new_path))
          )
function_tokens: def rename ( self , old_path , new_path ) : self . _simple_command ( "rename {0} {1}\n" . format ( quote ( old_path ) , quote ( new_path ) ) )