In Linux, you can use the Rz/sz tool for file transfer between Linux and Windows, so how do you use the Rz/sz tools tool? The following small series to introduce you under Linux How to use the Rz/sz tool for file transfer, together to learn it.
In general, most of the Linux server through the SSH client for remote login and management, using SSH login to the Linux host, how to quickly and the local machine for file interaction, that is, upload and download files to the server and local;
The two commands associated with SSH can be easily manipulated:
SZ: Send the selected file (send) to the local machine
RZ: Run this command will pop up a file Selection window, from the local select File upload to the server (receive)
Rz,sz is the command-line tool that Linux/unix Zmodem file transfer with Windows
The Windows side needs to support Zmodem TELNET/SSH clients (such as SECURECRT)
Run the command RZ, that is, to receive the file, SecureCRT will pop up the file selection dialog box, select the file and close the dialog box, the file will be uploaded to the current directory
Note: Using RZ alone will have two problems: Upload interrupt, upload file changes (MD5 different), the solution is to upload is rz-be, and remove the popup dialog box "Upload files as ASCII" before the check.
-b binary uploads the download in binary mode, does not interpret the character as ASCII
-E force escape all control characters, such as Ctrl+x,del, etc.
Run the command sz file1 file2 is to send files to Windows (the saved directory can be configured) more convenient than the FTP command, and the server does not have to open the FTP service
Ps:linux on the Rz/sz these two gadgets installed lrzsz-x.x.xx.rpm can be.
Of course, you can also set up the directory:
Set up the default directory for uploads and downloads in SECURECRT
options– "Session options–" file transfer can be set to upload and download the directory
The rest of you just log in to the Linux terminal with SECURECRT:
Send file to client: SZ filename
Zmodem receive can start on its own.
Upload files from client to Linux server:
As long as the server execution: RZ
Then select the file to send in SecureCRT, protocol Zmodem
Introduction to the File Transfer tool Rz/sz (LRZ/LSZ) between Linux and Windows
"What is Rz/sz (LSZ/LRZ)"
Simply put, it is easy to use these two sz/rz tools to achieve the file transfer (send and receive) between Linux and Windows, the speed is about 10kb/s, suitable for small and medium-sized files. RZ/SZ transmits data through the Zmodem protocol.
"Why use Rz/sz?"
Common Linux and the method of file sharing between windows, mainly the establishment of NFS implementation of file sharing, and TFTP and other methods, but all very cumbersome, and if only small files (dozens of k, hundreds of k), then directly with the RZ/SZ, it is extremely convenient. Big file words, still want to consider above said, other sharing method, after all, Rz/sz speed only about 10K, transfer big file will be exhausted people's ...
How to use the Rz/sz tool for file transfer in Linux