- 浏览: 134641 次
- 性别:
- 来自: 成都
文章分类
最新评论
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
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
发表评论
-
linux shell - 远端修改非root密码
2015-01-09 20:40 953【基本介绍】 通过远端修改普通用户密码,而passwd --s ... -
linux shell - broken pip error
2015-01-07 15:36 2663【基本介绍】 这里我们介绍发生broken pipe错误的原因 ... -
linux locate - find files by name
2014-12-17 17:46 557【基本介绍】 这里我们介绍locate命令,用来查找文件。 ... -
linux ssh - GSSAPIAuthentication
2014-12-10 14:58 1994【基本介绍】 最近公司搬家,发现合作伙伴的服务器的用ftp工具 ... -
linux tar - 压缩解压
2014-12-01 16:04 968【基本介绍】 今天遇到要添加文件到tar文件里面,所以在这里介 ... -
linux parameter substitution - 字符串/变量处理
2014-11-17 15:56 776【基本介绍】 这里我们介绍bash里面对字符串,变量等的替换等 ... -
linux netstat - status状态描述
2014-11-14 17:59 1111【基本介绍】 这里介绍netstat命令返回的结果status ... -
linux set - set variables and set positional parameters
2014-11-10 18:26 405【基本介绍】 set是shell的内置命令。可以用来设置修改变 ... -
linux nc - arbitrary TCP and UDP connections and listens
2014-10-31 17:46 757【基本介绍】 nc是可以打开任意端口的TCP/UDP连接和监听 ... -
linux 报错集 - Cannot retrieve metalink for repository: epel. Please verify its pat
2014-10-29 15:12 924【基本介绍】 运行yum报错Error: Cannot ret ... -
linux awk - awk tutorial
2014-10-21 10:47 456【基本介绍】 awk是一款强大的对文件内容进行处理的软件,可以 ... -
linux ps - processes
2014-10-20 14:17 1218【基本介绍】 ps - report a snapshot o ... -
linux lsof - list open files
2014-10-17 17:31 709【基本介绍】 lsof - list open files I ... -
linux - 网络连接状态
2014-10-13 11:00 1346【基本情况】 这里介绍 ... -
linux netstat - Print network connections, routing tables, interface statistics,
2014-10-13 10:37 977【基本介绍】 netstat - Print network ... -
linux vmstat - Report virtual memory statistics
2014-10-10 17:39 690【基本介绍】 vmstat - Report virtual ... -
linux yum - yum warning: rpmts_HdrFromFdno
2014-10-09 15:08 557【基本介绍】 在yum安装软件的时候有时候会报warning: ... -
Linux ip subnet mask - 网段分析
2014-09-24 19:22 1290【基本介绍】 网段的分析可以帮助我们查看两个局域地址是否可以互 ... -
linux curl - curl 上传下载
2014-09-19 11:45 2073【基本介绍】 curl is a tool to tra ... -
linux mkpasswd - 密码生成器
2014-09-18 17:18 1379【基本介绍】 作为linux admin要经常创建用户,并初始 ...
相关推荐
Xmoden/Zmoden方式的文件上传、下载工具。 可通过SecureCRT在windows本地和远程linux服务器之间方便的...将本压缩包在服务器上解压,移动到 /usr/bin/ 下,以后在SecureCRT上使用 rz 和 sz 命令就能轻松实现上传下载。
linux系统下的rz sz上传下载工具
linux必备工具-szrz,用于本地机器与远程机器的文件传输。sz+文件名,可以将文件下载到本地指定文件夹,并可以和crt或者xshell密切配合使用。rz,选择文件并上传。
用于Linux操作系统上传、下载文件的工具,rz为上传,sz为下载,该版本为3.48
1、条件:需要使用SecureCRT或者Xshell等客户端工具连接Linux 2、上传下载命令测试 1)上传(rz) 在客户端SSH命令行运行rz命令,命令如下: [root@oldboy ~]# rz 执行后会弹出上传文件的选择窗口,可
lrzs linux上传文件工具 使用命令sz 和rz
rz,sz是Linux/Unix同Windows进行ZModem文件传输的命令行工具。 优点就是不用再开一个sftp工具登录上去上传下载文件。 Zmodem协议是针对modem的一种错误校验协议。利用Zmodem协议,可以在modem上发送512字节的...
lrzsz 是一个搭配 SecureCRT 使用的上传下载工具,能将本地文件上传到远程服务器上,用起来非常方便。虽然 SecureCRT 有自带的 SecureFX 也能实现上传下载的功能,但我觉得 lrzsz 更方便简洁。 。 下载完安装就好...
rz,sz是便是Linux/Unix同Windows进行ZModem文件传输的命令行工具。 使用前提: 首先,你的Linux端(CentOS, Ubuntu)需要安装rz/sz命令,也就是 lszrz 包。 其次,windows端需要支持ZModem的telnet/ssh客户端...
linux远程连接工具SecureCRT,这样就不用在windows和linux直接切换这么麻烦,而且使用SecureCRT软件可以使用sz、rz命令来上传下载文件,尤其是在linux系统作为服务器使用的时候,可以使用这个软件来远程连接linux...
下载SCPwin工具即可进行上传或者最原始的rz sz命令具体操作如下 yum install -y lrzsz rz 文件 服务器指定的目录路径 wegt下载安装(需要注意是否已安装wegt工具没有yum安装一下) wget https://nodejs.org/downl
RZ是Linux提供的上传的命令,基于XMODEM/YMODEM/ZMODEM协议。
lrzsz是一款在linux里可代替ftp上传和下载的程序,可直接sudo dpkg -i lrzsz_0.12.21-8_amd64.deb 程序会自动安装好,然后如你要下载者sz [找到你要下载的文件] 如果你要上传,者rz 浏览找到你本机要上传的文件
ZOS不是一个通用发行版本,主要内置了apache, php, mysql, openssh, cron, vim, rzsz等软件和服务。 ZOS进行了大量的精简,整个系统空间300M左右,OVA格式的70M左右。配置文件和命令也都非常精简。 ...