def descend(self, remote, force=False):
remote_dirs = remote.split('<STR_LIT:/>')<EOL>for directory in remote_dirs:<EOL><INDENT>try:<EOL><INDENT>self.conn.cwd(directory)<EOL><DEDENT>except Exception:<EOL><INDENT>if force:<EOL><INDENT>self.conn.mkd(directory)<EOL>self.conn.cwd(directory)<EOL><DEDENT><DEDENT><DEDENT>return self.conn.pwd()<EOL>
Descend, possibly creating directories as needed