code: def cd(self, remote):
          
          try:
              self.conn.cwd(remote)
          except Exception:
              return False
          else:
              return self.pwd()
docs: Change working directory on server