Rename a file.

This method issues the RNFR/RNTO command sequence to rename pathFrom to pathTo.

ParameterspathFrom: the absolute path to the file to be renamed
pathTo: the absolute path to rename the file to.
ReturnsA Deferred which fires when the rename operation has succeeded or failed. If it succeeds, the Deferred is called back with a two-tuple of lists. The first list contains the responses to the RNFR command. The second list contains the responses to the RNTO command. If either RNFR or RNTO fails, the Deferred is errbacked with CommandFailed or BadResponse. (type: Deferred)
Present Since8.2
Function ebFrom Undocumented
def ebFrom(failure): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.