from ftplib import FTP ftp = FTP("ftp.flightgear.org") ftp.login() # Change the current directory ftp.cwd("pub/fgfs/Scenery-0.9.10") # Get the item ftp.retrbinary('RETR', "e000s10.tgz") ftp.close()