This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""An FTP client class and some helper functions. | |
Based on RFC 959: File Transfer Protocol (FTP), by J. Postel and J. Reynolds | |
Example: | |
>>> from ftplib import FTP | |
>>> ftp = FTP('ftp.python.org') # connect to host, default port | |
>>> ftp.login() # default, i.e.: user anonymous, passwd anonymous@ | |
'230 Guest login ok, access restrictions apply.' |