b.t.f.m.ftp_channel(medusa.ftp_server.ftp_channel) : class documentation

Part of bzrlib.tests.ftp_server.medusa_based View In Hierarchy

Customized ftp channel
Method log Redirect logging requests.
Method log_info Redirect logging requests.
Method cmd_rnfr Prepare for renaming a file.
Method cmd_rnto Rename a file based on the target given.
Method cmd_size Return the size of a file
Method cmd_mkd Create a directory.
Method cmd_site Site specific commands.
def log(self, message):
Redirect logging requests.
def log_info(self, message, type='info'):
Redirect logging requests.
def cmd_rnfr(self, line):
Prepare for renaming a file.
def cmd_rnto(self, line):
Rename a file based on the target given.

rnto must be called after calling rnfr.

def cmd_size(self, line):
Return the size of a file

This is overloaded to help the test suite determine if the target is a directory.

def cmd_mkd(self, line):
Create a directory.

Overloaded because default implementation does not distinguish why it cannot make a directory.

def cmd_site(self, line):
Site specific commands.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.