import ftplibftp = ftplib.FTP('ftp.novell.com', 'anonymous','b@n.com')print "File List:"files = ftp.dir()print filesftp.cwd("/pub")gFile = open("readme.txt", "wb")ftp.retrbinary('RETR Readme', gFile.write)gFile.close()ftp.quit()gFile = open("readme.txt", "r")buff = gFile.read()print buffgFile.close()
Name (required)
email (will not be published) (required)
Website