(self, *, cid, oldname, newname, cpw=None, tcid=None,
                     tcpw=None)
return self._return_proxy("ftrenamefile", cparams, uparams, options)
Usage::

            ftrenamefile cid={channelID} cpw={channelPassword}
                         [tcid={targetChannelID}] [tcpw={targetChannelPassword}]
        	         oldname={oldFilePath} newname={newFilePath}

        Renames a file in a channels file repository. If the two parameters tcid and
        tcpw are specified, the file will be moved into another channels file
        repository.

        Example::

           ftrenamefile cid=2 cpw= tcid=3 tcpw= oldname=\/Pic3.PNG newname=\/Pic3.PNG
           error id=0 msg=ok

        Example::

            >>> ts3cmd.ftrenamefile(
            ...     cid=2, tcid=3, oldname="/Pic3.PNG", newname="/Pic3.PNG")
            ...
Usage::
Usage ::
def ftrenamefile(self, *, cid, oldname, newname, cpw=None, tcid=None,
                     tcpw=None):
        """
        Usage::

            ftrenamefile cid={channelID} cpw={channelPassword}
                         [tcid={targetChannelID}] [tcpw={targetChannelPassword}]
        	         oldname={oldFilePath} newname={newFilePath}

        Renames a file in a channels file repository. If the two parameters tcid and
        tcpw are specified, the file will be moved into another channels file
        repository.

        Example::

           ftrenamefile cid=2 cpw= tcid=3 tcpw= oldname=\/Pic3.PNG newname=\/Pic3.PNG
           error id=0 msg=ok

        Example::

            >>> ts3cmd.ftrenamefile(
            ...     cid=2, tcid=3, oldname="/Pic3.PNG", newname="/Pic3.PNG")
            ...
        """
        cparams = OrderedDict()
        uparams = list()
        options = list()

        cparams["cid"] = cid
        cparams["cpw"] = cpw if cpw is not None else str()
        cparams["tcid"] = tcid
        cparams["tcpw"] = tcpw
        cparams["oldname"] = oldname
        cparams["newname"] = newname
        return self._return_proxy("ftrenamefile", cparams, uparams, options)
def ftrenamefile ( self , * , cid , oldname , newname , cpw = None , tcid = None , tcpw = None ) : cparams = OrderedDict ( ) uparams = list ( ) options = list ( ) cparams [ "cid" ] = cid cparams [ "cpw" ] = cpw if cpw is not None else str ( ) cparams [ "tcid" ] = tcid cparams [ "tcpw" ] = tcpw cparams [ "oldname" ] = oldname cparams [ "newname" ] = newname return self . _return_proxy ( "ftrenamefile" , cparams , uparams , options )