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