def METHOD_NAME(self, path: str) -> int:
    self.session.sftp_client_ready.wait()
    if self.session.sftp_client is None:
        raise MissingClient("self.session.sftp_client is None!")
    return self.session.sftp_client.METHOD_NAME(path)