Recursive directory download with Paramiko?

后端 未结 6 1515
甜味超标
甜味超标 2020-11-30 10:23

I want to download a directory with unknown contents recursively via SSH and have been trying Paramiko. I have seen several examples how to upload directories but none that

6条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 11:23

    If u using Linux or Unix-like. U can use 'file' utility with popen. Or simple u can use os.path.isdir() =)

提交回复
热议问题