在試驗或者實際的環境中,通過windows平台來管理維護linux系統時,想向系統上傳或者下載下傳
一些檔案時,就比較頭疼。不想因為上傳或下載下傳一個小的檔案,就向伺服器中安裝一個FTP或者
SAMBA服務。
這時候,我推薦的這個小工具就拍上用處了。lrszs其實包含兩個工具,rz和sz。
關于rz的簡介:
This program uses error correcting protocols to receive files over a dial-in serial port
from a variety of programs running under PC-DOS, CP/M, Unix, and other operating sys‐
tems. It is invoked from a shell prompt manually, or automatically as a result of an
"sz file ..." command given to the calling program.
Rz (Receive ZMODEM) receives files with the ZMODEM batch protocol. Pathnames are sup‐
plied by the sending program, and directories are made if necessary (and possible).
Normally, the "rz" command is automatically issued by the calling ZMODEM program, but
some defective ZMODEM implementations may require starting rz the old fashioned way.
關于sz的簡介:
Sz uses the ZMODEM, YMODEM or XMODEM error correcting protocol to send one or more files
over a dial-in serial port to a variety of programs running under PC-DOS, CP/M, Unix,
VMS, and other operating systems.
簡單的說就是:rz(Receive ZMODEM)使用ZMODEN協定接收檔案(站在伺服器的角度),也就是我們從用戶端向伺服器上傳檔案。
sz(Send ZMODEM)使用ZMODEN協定發送檔案,也就是我們從用戶端向伺服器下載下傳檔案。
這時候配合我們的SecureCRT等工具,就可以友善快捷的上傳下載下傳檔案了!
使用rz上傳檔案:
使用sz下載下傳檔案:
當某些系統沒有安裝時,可以下載下傳源代碼,編譯安裝一下。
下載下傳位址:https://github.com/jnavila/lrzsz
不過現在很多linux系統預設就安裝了這個工具了。
本文轉自 技術花妞妞 51CTO部落格,原文連結:http://blog.51cto.com/xiaogongju/1947598