I have the following:
filelist=[]
aec.retrlines('NLST', filelist.append)
As well as doing what I want it to do, which is create a list of files from an FTP folder called "filelist", this also prints that list of files to the console. But I don't want an endless list of file names cluttering up my console. How do I stop it from doing this?