ftplib is a set of routines that implement the FTP protocol. They allow applications to create and access remote files through function calls instead of needing to fork and exec an interactive ftp client program.
FTP Library Routines Release 4.0 Thomas Pfau (tfpfau@gmail.com) June 7, 2013 This package implements a callable interface to FTP. The FTP protocol is specified in RFC 959. The library has been tested on linux, OpenVMS and Windows NT. It should also
ftplib is a set of routines that implement the FTP protocol. They allow applications to create and access remote files through function calls instead of needing to fork and exec an interactive ftp client program. ftplib has been built and tested on
FTP Library Routines Release 4.0 Thomas Pfau (tfpfau@gmail.com) June 7, 2013 This package implements a callable interface to FTP. The FTP protocol is specified in RFC 959. The library has been tested on linux, OpenVMS and Windows NT. It should also
本文实例讲述了python通过ftplib登录到ftp服务器的方法。分享给大家供大家参考。具体实现方法如下:
import ftplib
connect = ftplib.FTP("www.mysite.com")
connect.login("domain\user", "password")
data = []
connect.dir(data.append)
connect.quit()
for line in data:
print(line)
希望本文所述对大家的Python程序