#NEWLINE# def describe_directory( self , path ) : #NEWLINE# #INDENT# '\n        Returns a dictionary of {filename: {attributes}} for all files\n        on the remote system (where the MLSD command is supported).\n\n        :param path: full path to the remote directory\n        :type path: str\n        ' #NEWLINE# conn = self . get_conn ( ) #NEWLINE# conn . cwd ( path ) #NEWLINE# try : #NEWLINE# #INDENT# files = dict ( conn . mlsd ( ) ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# files = dict ( mlsd ( conn ) ) #NEWLINE# #UNINDENT# return files