Re: ftp retrlines with re...

2008-12-08 Thread Peter Otten
[EMAIL PROTECTED] wrote: > filelist=server.retrlines('LIST') This does not do what you think it does. >>> help("ftplib.FTP.retrlines") gives """ Help on method retrlines in module ftplib: retrlines(self, cmd, callback=None) unbound ftplib.FTP method Retrieve data in line mode. The arg

Re: ftp retrlines with re...

2008-12-08 Thread Gabriel Genellina
En Fri, 05 Dec 2008 12:51:58 -0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: Ive been working on an application quite some time now and i wanted to include something to let the user load a new version. i therefore tried to include this here: Too much code, unclear question... please pos

ftp retrlines with re...

2008-12-05 Thread isabellkna...@googlemail.com
Hey! Ive been working on an application quite some time now and i wanted to include something to let the user load a new version. i therefore tried to include this here: from ftplib import FTP import string,re def handleDownload(block): processfile.write(block) print ".", def load_new