def download_file():
print "Checking local disk space..."
local("df -h")
remote_path = prompt("Enter the remote file path:")
local_path = prompt("Enter the local file path:")
get(remote_path=remote_path, local_path=local_path)
local("ls %s" %local_path)
07_06_transfer_file_over_ssh.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录