SecureCRT的SFTP在Windows與Linux之間傳輸文件

使用SecureCRT軟件ssh連接到Linux虛擬機。然後在SecureCRT上面打開SFTP會話

 

------------------------sftp命令------------------------------------------
sftp> help Available commands: ascii Set transfer mode to ASCII binary Set transfer mode to binary cd path Change remote directory to 'path' lcd path Change local directory to 'path' detail remote-path Display system information about remote file or folder ldetail local-path Display system information about local file or folder chgrp group path Change group of file 'path' to 'group' chmod mode path Change permissions of file 'path' to 'mode' chown owner path Change owner of file 'path' to 'owner' exit Quit sftp help Display this help text include filename Include commands from 'filename' Alternate: < filename get
[-r][-a | -b] remote-path Download file -r downloads directory recursively force ascii (-a) or binary (-b) mode ln [-s] existingpath linkpath Hardlink / symlink remote file ls [options] [path] Display remote directory listing lls [options] [path] Display local directory listing mkdir path Create remote directory lmkdir path Create local directory mv oldpath newpath Move remote file lmv oldpath newpath Move local file open [user@]host[:port] Connect to remote host put [-r][-a | -b] local-path Upload file -r uploads directory recursively force ascii (-a) or binary (-b) mode pwd Display remote working directory lpwd Print local working directory quit Quit sftp rename oldname newname Rename remote file lrename oldname newname Rename local file rmdir path Remove remote directory lrmdir path Remove local directory rm path Delete remote file lrm path Delete local file su username Substitutes the current user This is only supported with VShell for Windows 3.5 or later. type [transfer-mode] Display or set file transfer mode view remote-path Download and open file version Display protocol version

------------------------sftp命令(翻譯)---------------------------------------

sftp-- help
可用命令:
cd 路徑                        更改遠程目錄到“路徑”
lcd 路徑                       更改本地目錄到“路徑”
chgrp group path               將文件“path”的組更改爲“group”
chmod mode path                將文件“path”的權限更改爲“mode”
chown owner path               將文件“path”的屬主更改爲“owner”
exit                           退出 sftp
help                           顯示這個幫助文本
get 遠程路徑                   下載文件
ln existingpath linkpath       符號鏈接遠程文件
ls [選項] [路徑]               顯示遠程目錄列表
lls [選項] [路徑]              顯示本地目錄列表
mkdir 路徑                     創建遠程目錄
lmkdir 路徑                    創建本地目錄
mv oldpath newpath             移動遠程文件
open [用戶@]主機[:端口]        連接到遠程主機
put 本地路徑                   上傳文件
pwd                            顯示遠程工作目錄
lpwd                           打印本地工作目錄
quit                           退出 sftp
rmdir 路徑                     移除遠程目錄
lrmdir 路徑                    移除本地目錄
rm 路徑                        刪除遠程文件
lrm 路徑                       刪除本地文件
symlink existingpath linkpath  符號鏈接遠程文件
version                        顯示協議版本

 

發佈了151 篇原創文章 · 獲贊 21 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章