Interactive FTP Example : Ftp : Network PYTHON TUTORIALS


PYTHON TUTORIALS » Network » Ftp »

 

Interactive FTP Example


from ftplib import FTP

f = FTP('ftp.python.org')
f.login('anonymous', '-help@python.org')
f.dir()
f.retrlines('RETR motd')
f.quit()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Network
» Ftp