def describe_directory(self, path):
        """
        Returns a dictionary of {filename: {attributes}} for all files
        on the remote system (where the MLSD command is supported).

        :param path: full path to the remote directory
        :type path: str
        """
        conn = self.get_conn()
        conn.cwd(path)
        try:
            # only works in Python 3
            files = dict(conn.mlsd())
        except __HOLE__:
            files = dict(mlsd(conn))
        return files
dataset/ETHPy150Open airbnb/airflow/airflow/contrib/hooks/ftp_hook.py/FTPHook.describe_directory