First, installation method
[Email protected] code]# yum-y install Lrzsz
Second, upload download file test
1, conditions: Need to use SECURECRT or Xshell and other client tools to connect Linux
2. Upload Download command test
1) Upload (RZ)
Run the RZ command at the client SSH command line, with the following command:
[Email protected] code]# RZ
After the execution of the upload file will pop up the selection window, you can choose to upload the relevant files (not supported directly upload directory).
Tip: You can use the RZ-Y implementation overlay upload, the default directory of the upload window can be set in the SSH client.
2) Download (SZ)
Implementation downloads can be directly using szFileName, where filename is the name of the file you want to download, and if the directory needs to be packaged into a single file in the implementation download.
[[Email protected] code]# sz backup_file.py #<==backup_file.py to exist, can be a relative path or an absolute path.
Upload Download directory securecrt default is the Upload/download directory under the installation directory, can be modified by itself.
Xshell is set in file-----------and file transfer, which is asked before downloading by default.
Use RZ and sz to upload and download files under Linux