'Return a list of files in a given directory (default the current).'

def nlst(self, *args):

    cmd = 'NLST'
    for arg in args:
        cmd = (cmd + ('    ' + arg))
    files = []
    self.retrlines(cmd, files.append)
    return files
