Lines Matching defs:FTP
1 """An FTP client class and some helper functions.
3 Based on RFC 959: File Transfer Protocol (FTP), by J. Postel and J. Reynolds
7 >>> from ftplib import FTP
8 >>> ftp = FTP('ftp.python.org') # connect to host, default port
43 __all__ = ["FTP", "error_reply", "error_temp", "error_perm", "error_proto",
50 # The standard FTP server control port
74 class FTP:
75 '''An FTP client class.
683 class FTP_TLS(FTP):
684 '''A FTP subclass which adds TLS support to FTP as described
687 Connect as usual to port 21 implicitly securing the FTP control
790 # --- Overridden FTP methods
902 '''Copy file from one FTP-instance to another.'''
948 ftp = FTP(host)