SecureCRT下Linux上传下载之rz ,sz 命令

来源:互联网 发布:linux c va_start 编辑:程序博客网 时间:2024/05/21 07:03

一、RZ 上传命令

Rz (Receive ZMODEM) receives files with the ZMODEM batch protocol.
Pathnames are supplied by the sending program, and directories are
made if necessary (and possible). Normally, the “rz” command is
auto-
matically issued by the calling ZMODEM program, but some defective ZMODEM implementations may require starting rz the old
fashioned way.

直接输入rz , 可以上传当前目录下未重名的新文件,如果已有同名文件,则不会覆盖,需要用
rz -y 命令

-y, – overwrite
Yes, clobber any existing files with the same name

二、 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
sys- tems.

0 0