'Returns a list of files on the remote system.
:param path: full path to the remote directory to list
:type path: str'

def list_directory(self, path, nlst=False):

    conn = self.get_conn()
    conn.cwd(path)
    files = conn.nlst()
    return files
