lrzsz is one can upload and download files between linux and windows environment, with it, you do not need to install separate software ftp file transfer a.
Here we demonstrate Xshell terminal as an example, the test can also use SecureCRT
Installation lrzsz
command:
yum install -y lrzsz
Now installation is complete. The following case to understand its use
File upload (windows to linux):
The default file uploaded to the current directory on the server, so first before uploading cd
to a file upload directory
- Method 1: Enter the
rz
click Enter to bring up the file selection box, select the upload is completed
- Method 2: drag and drop files into the terminal completes the upload
The transfer is complete as shown below
to view the files in the directory linux system, you can upload the file has been successful
Download (linux to windows):
command:
sz fileName
For example, we just download upload that picture, enter sz IMG_2745.JPG
, and then select the pop-local directory, select the location to download stored click OK OK to complete the download
and then view the desktop, you can find images have been downloaded to the desktop