[Switch] Use Zmodem under SecureCRT

The file transfer protocols under SecureCRT include ASCII, Xmodem, and Zmodem
file transfer protocols
. File transfer is the main form of data exchange. When transferring files, we need to establish a unified transfer protocol between the two computers so that the files can be correctly identified and transferred. This agreement includes the identification of the file, the start and end time of transmission, the judgment and correction of errors and so on. Common transfer protocols are as follows: 

ASCII: This is the fastest transfer protocol, but can only transfer text files. 

Xmodem: This ancient transmission protocol is slow, but due to the CRC error detection method, the transmission accuracy can be as high as 99.6%. 

Ymodem: This is an improved version of Xmodem, using 1024-bit segment transfer, faster than Xmodem. 

Zmodem: Zmodem adopts the streaming (streaming) transmission mode, the transmission speed is fast, and it also has the functions of automatically changing the segment size, resuming the transmission from a breakpoint, and fast error detection. This is the most popular file transfer protocol out there. 

In addition to the above, there are protocols such as Imodem, Jmodem, Bimodem, Kermit, Lynx, etc., which are omitted here because they are not supported by most manufacturers.
SecureCRT can use the zmodem protocol under linux to transfer files quickly.

You only need to set the default directory for uploading and downloading.
Options->session options->Terminal->Xmodem/Zmodem
Set the directory for uploading and downloading in the right column directory to

 use Zmodem uploads files from the client to the linux server
1. Log in to the linux terminal with SecureCRT.
2. Select the path where you want to place the uploaded file, enter the rz command in the directory, SecureCRT will pop up a file selection dialog, find the file you want to upload in the search range, and press the Add button. Then OK can upload the file to linux.
Or in the Transfer->Zmodem Upoad list, a file selection dialog box pops up. After selecting the file, press the Add button. Then the OK window closes automatically. Then select the directory where the file is stored under linux and enter the rz command. liunx uploads the file to this directory.

Use Zmodem to download files to the client:
sz filename
zmodem can start automatically. The downloaded files are stored in the default download directory you set.

Note:
rz, sz is a command line tool for ZModem file transfer between Linux/Unix and Windows The Windows side needs a telnet/ssh client that supports ZModem, and SecureCRT can use SecureCRT to log in to the Unix/Linux host (telnet or ssh can be used). After the file is ready, close the dialog box, and the file will be uploaded to the current directory O. Run the command sz file1 file2 to send the file to Windows (the saved directory can be configured), which is much more convenient than the ftp command, and the server does not need to open the FTP service anymore.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326764821&siteId=291194637