from ftplib import FTPdef writeline(data): fd.write(data + "n")f = FTP('ftp.kernel.org')f.login()f.cwd('/pub/linux/kernel')fd = open('README', 'wt')f.retrlines('RETR README', writeline)fd.close()f.quit()
Name (required)
email (will not be published) (required)
Website