`

Linux rz sz - 上传下载工具

阅读更多
Linux上的文件上传/下载工具rz和sz

Rz (receive zmodem)  receives files with the ZMODEM batch protocol.
rz:运行该命令会弹出一个文件选择窗口,从本地选择文件上传到服务器
Sz (Send zmodem) sends one or more files with ZMODEM protocol.
sz:将选定的文件发送(send)到本地机器

【ZMODEM】
Xmodem, Ymodem and Zmodem
Xmodem sends 128 bytes and a checksum, waits for a Acknowledgment to say all is well and sends the next block. If a negative acknowledgement is received or if no ACK or NAK ever appears then the block is sent again.
Xmodem is a simple protocol, as you would expect of a program written for 8-bit computers running CP/M. It has lots of inefficiencies and minor problems, such as rounding up the file size to the next 128 byte boundary. These deficiencies lead to an evolution of the protocol with revisions of Xmodem, then Ymodem and finishing with Zmodem. Zmodem is substantially faster than Xmodem and has no niggling problems. The Zmodem protocol is substantially more complex than the Xmodem protocol, but since we only seek to at most compile the code, that complexity need not concern us.
-----------------------
xmodem每次只能传输128b并且要校验,效率很低。随着发展出现了ymodem和现在的zmodem。rz和sz是基于zmodem的,所以putty(不支持zmodem)不能使用这两个命令。


【安装】
测试环境:VMware RedHat5.1 Kernel:2.6.18-53.el5
yum install lrzsz


【配置】
在SecureCRT设置一下上传和下载的默认目录
options–>session options --> X/Y/Zmodem


【使用】
环境:SecureCRT6.5
运行rz后,会自动弹出WIndows下的文件选择对话框,选择对应文件后,添加,然后确定,就开始传输,将windows中的文件,拷贝到Linux中了。


执行sz file_name 就可以将Linux当前文件夹下的文件file_name拷贝到Windows的对应目录中了,其中,Windows目录是由你当前运行的工具中设定的。


【参考】
http://blog.csdn.net/itegel84/article/details/5793575
http://oldboy.blog.51cto.com/2561410/588592
  • 大小: 62.7 KB
  • 大小: 26.1 KB
  • 大小: 52.2 KB
分享到:
评论

相关推荐

    linux_rzsz.tgz

    Xmoden/Zmoden方式的文件上传、下载工具。 可通过SecureCRT在windows本地和远程linux服务器之间方便的...将本压缩包在服务器上解压,移动到 /usr/bin/ 下,以后在SecureCRT上使用 rz 和 sz 命令就能轻松实现上传下载。

    linux rzsz 工具 0.12.20

    linux系统下的rz sz上传下载工具

    rzsz-3.48-内附安装说明

    linux必备工具-szrz,用于本地机器与远程机器的文件传输。sz+文件名,可以将文件下载到本地指定文件夹,并可以和crt或者xshell密切配合使用。rz,选择文件并上传。

    rzsz3.48.zip

    用于Linux操作系统上传、下载文件的工具,rz为上传,sz为下载,该版本为3.48

    linux系统上传下载命令rz和sz的教程

    1、条件:需要使用SecureCRT或者Xshell等客户端工具连接Linux 2、上传下载命令测试  1)上传(rz)   在客户端SSH命令行运行rz命令,命令如下: [root@oldboy ~]# rz 执行后会弹出上传文件的选择窗口,可

    linux上传文件工具

    lrzs linux上传文件工具 使用命令sz 和rz

    linux传输文件命令 rz 和 sz详解

     rz,sz是Linux/Unix同Windows进行ZModem文件传输的命令行工具。  优点就是不用再开一个sftp工具登录上去上传下载文件。  Zmodem协议是针对modem的一种错误校验协议。利用Zmodem协议,可以在modem上发送512字节的...

    linux下lrzsz安装,SecureCRT上传下载文件工具

     lrzsz 是一个搭配 SecureCRT 使用的上传下载工具,能将本地文件上传到远程服务器上,用起来非常方便。虽然 SecureCRT 有自带的 SecureFX 也能实现上传下载的功能,但我觉得 lrzsz 更方便简洁。 。 下载完安装就好...

    linux中rz上传、sz下载命令详解

    rz,sz是便是Linux/Unix同Windows进行ZModem文件传输的命令行工具。 使用前提: 首先,你的Linux端(CentOS, Ubuntu)需要安装rz/sz命令,也就是 lszrz 包。 其次,windows端需要支持ZModem的telnet/ssh客户端...

    SecureCRT远程连接工具

    linux远程连接工具SecureCRT,这样就不用在windows和linux直接切换这么麻烦,而且使用SecureCRT软件可以使用sz、rz命令来上传下载文件,尤其是在linux系统作为服务器使用的时候,可以使用这个软件来远程连接linux...

    配置NODE开发环境使用vue-cli脚手架搭建VUE—Admin项目

    下载SCPwin工具即可进行上传或者最原始的rz sz命令具体操作如下 yum install -y lrzsz rz 文件 服务器指定的目录路径 wegt下载安装(需要注意是否已安装wegt工具没有yum安装一下) wget https://nodejs.org/downl

    lrzsz-0.12.20.tar.gz

    RZ是Linux提供的上传的命令,基于XMODEM/YMODEM/ZMODEM协议。

    ubuntu系统lrzsz工具

    lrzsz是一款在linux里可代替ftp上传和下载的程序,可直接sudo dpkg -i lrzsz_0.12.21-8_amd64.deb 程序会自动安装好,然后如你要下载者sz [找到你要下载的文件] 如果你要上传,者rz 浏览找到你本机要上传的文件

    管理套装操作系统ZOS.zip

    ZOS不是一个通用发行版本,主要内置了apache, php, mysql, openssh, cron, vim, rzsz等软件和服务。 ZOS进行了大量的精简,整个系统空间300M左右,OVA格式的70M左右。配置文件和命令也都非常精简。 ...

Global site tag (gtag.js) - Google Analytics