SFTP using ftplib

后端 未结 1 876
梦如初夏
梦如初夏 2021-01-11 17:31

I need to download a file from a host using SFTP.

Do you know if is it possible to do that using Python ftplib? I saw an example here, but when I try to connect I re

相关标签:
1条回答
  • 2021-01-11 18:02

    As the question you linked to states, ftplib doesn't support SFTP (which is a transfer protocol over SSH and has nothing to do with FTPS, FTP over SSL). Use the recommended Paramiko instead.

    0 讨论(0)
提交回复
热议问题