我需要将所有文件从current_path移动到current_path/DestinationFolder。
我使用的SFTP 版本是:SFTP 协议版本 2
可用的命令有:
sftp> help
Available commands:
cd path Change remote directory to 'path'
lcd path Change local 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'
help Display this help text
get remote-path [local-path] Download file
lls [ls-options [path]] Display local directory listing
ln oldpath …
Run Code Online (Sandbox Code Playgroud)