def dir_names(self, connId='<STR_LIT:default>'):
files_list = []<EOL>thisConn = self.__getConnection(connId)<EOL>try:<EOL><INDENT>files_list = thisConn.nlst()<EOL><DEDENT>except:<EOL><INDENT>files_list = []<EOL><DEDENT>return files_list<EOL>
Returns list of files (and/or directories) of current directory.
Parameters:
- connId(optional) - connection identifier. By default equals 'default'