Linux下sftp,下载整个目录文件
1. 网上看了很多get -r可我就是报错就是不行
2. 可用命令
首先使用version
命令查看sftp版本,以防版本不同导致的差异:
那么接下来我们就要自力更生,输入help
命令,查看帮助:
Available commands:
bye Quit sftp
cd path Change remote directory to 'path'
chgrp grp path Change group of file 'path' to 'grp'
chmod mode path Change permissions of file 'path' to 'mode'
chown own path Change owner of file 'path' to 'own'
df [-hi] [path] Display statistics for current directory or
filesystem containing 'path&