Install
yum install lrzsz -y
upload files
Condition: You need to use client tools such as SecureCRT or Xshell to connect to Linux
rz //跳转到指定要上传的目录执行rz命令
After execution, a selection window for uploading files will pop up, and you can select relevant files to upload (direct upload directory is not supported).
Tip: You can use rz -y to achieve overwrite upload, and the default directory of the upload window can be set in the SSH client.
download file
sz $filename
Where filename is the name of the file you want to download, if it is a directory, it needs to be packaged into a single file and then downloaded.
$filename
Can be a relative path or an absolute path.
XShell special upload method
Simply drag and drop the file into the XShell command line window.
The pit uploaded by rz
Do not tick the content of the following picture, otherwise there will be problems with the uploaded file.