Re: i have error then use ftplib

2006-03-30 Thread Stefan Schwarzer
Hello nazarianin, On 2006-03-30 09:35, 5>=>2 ;5:A59 wrote: > from ftplib import FTP > def handleDownload(block): > file.write(block) > print "." > > file = open('1', 'wb') > ftp = FTP('ftp.utk.ru') > ftp.set_pasv(1) > ftp.login() > ftp.retrlines('LIST') > [...] > and have this error mes

i have error then use ftplib

2006-03-29 Thread Леонов Алексей
Hello! I use this code: from ftplib import FTP def handleDownload(block): file.write(block) print "." file = open('1', 'wb') ftp = FTP('ftp.utk.ru') ftp.set_pasv(1) ftp.login() ftp.retrlines('LIST') ftp.cwd('users/video/Anime/Beyond the Clouds') ftp.retrbinary('RETR "[Triad]_Beyond_th