Hello,
it can be helped you
[code]def readerFtp():
import ftplib
import system
ftp = ftplib.FTP('yourserverftp.com')
ftp.login('user','login')
files = []
ftp.retrlines('NLST', files.append)
for filename in files:
def callback(buf):
ftmp=system.file.getTempFile("dat")
print ftmp
f=open(ftmp, 'wb')
f.write(buf)
f.close()
ftp.retrbinary('RETR '+filename, callback)
ftp.voidcmd('QUIT')
ftp.close()[/code]