def connect_to_sftp_server(username, password, hostname, port):
t = paramiko.Transport((hostname, port))
t.connect(username=username, password=password)
return paramiko.SFTPClient.from_transport(t)
io_tools.py 文件源码
python
阅读 15
收藏 0
点赞 0
评论 0
评论列表
文章目录