(self, *args)
return files
Return a list of files in a given directory (default the current).
Return a list of files in a given directory (default the current).
Return a list of files in a given directory ( default the current ) .
def nlst(self, *args):
        '''Return a list of files in a given directory (default the current).'''
        cmd = 'NLST'
        for arg in args:
            cmd = cmd + (' ' + arg)
        files = []
        self.retrlines(cmd, files.append)
        return files
def nlst ( self , * args ) : cmd = 'NLST' for arg in args : cmd = cmd + ( ' ' + arg ) files = [ ] self . retrlines ( cmd , files . append ) return files