Send a QUIT command to the server and close the connection. This is
the “polite” way to close a connection, but it may raise an exception
if the server responds with an error to the QUIT command. This implies
a call to the close() method which renders the FTP instance useless
for subsequent calls (see below).
上的python文档ftp.退出方法
ftp文档没有提到关闭文件句柄,但是关闭打开的文件总是一个很好的实践。在
相关问题 更多 >
编程相关推荐