1. Connection settings (linux client)
Note: 1. Correctly fill in the user identity authentication information (user name and password);
2. Add the above settings in ZMODEM
2. Linux server settings
On the Linux host, install the upload and download toolkit rz and sz; if you don’t know the specific name of the package you want to install, you can use yum provides */name to find the information of the system’s own software package;
- [root@localhost src]# yum provides */rz
- lrzsz-0.12.20-27.1.el6.i686 : The lrz and lsz modem communications programs
- Repo : base
- Filename : /usr/bin/rz
Generally, the name and version of the package will be listed, as well as the installation path; after querying the package name, use yum install -y package name to install it.
After the lrzsz package is installed, it includes upload rz and download sz commands; you only need to install this package.
- [root@localhost src]# yum install -y lrzsz
- [root@localhost src]# rz
After entering the rz command, a dialog box will pop up, select the file you want to upload, and select Open to upload it to the Linux host. After uploading, you can use ls to view;
4. To download files from the Linux host, the download command is sz, followed by the name of the file to be downloaded; you can choose the folder to save the download;
- [root@xyx-vsver01 webapps]# sz file name