Use SecureCRT to upload and download files

Source: Internet
Author: User
Tags file transfer protocol
The file transfer protocols under SecureCR include ASCII, Xmodem, Ymodem, and ZmodemASCII: this is the fastest transfer protocol, but only supports transferring text files. Xmodem: This old transmission protocol is slow, but the CRC error detection method is used, the transmission accuracy can reach 99 ....

 

The file transfer protocols in SecureCR include ASCII, Xmodem, Ymodem, and Zmodem.

 

ASCII: this is the fastest transmission protocol, but it can only transmit text files.

 

Xmodem: This old transmission protocol is slow, but the CRC error detection method can achieve a transmission accuracy of up to 99.6%.

 

Ymodem: this is an improved version of Xmodem. it uses a 1024-bit segment for transmission, which is faster than Xmodem.

 

Zmodem: Zmodem uses streaming transmission mode to achieve fast transmission speed. It also provides functions such as automatic change of segment size, resumable data transfer, and fast error detection. This is currently the most popular file transfer protocol.

 

Set the default upload/download directory

Options-> session options-> Terminal-> under Xmodem/Zmodem

Set the upload and download directory on the right

 

Use Zmodem to upload files from the client to the linux server

1. log on to the linux Terminal using SecureCRT.

2. select the path of the file to be uploaded, and enter the rz command in the directory. SecureCRT will pop up the file selection dialog box. find the file to be uploaded in the search range, and press the Add button. Then OK, you can upload the file to linux.

Alternatively, the file selection dialog box is displayed in Transfer-> Zmodem Upoad list. after selecting the file, click Add. Then the OK window is automatically closed. In linux, select the directory for storing files and enter the rz command. Liunx uploads the file to this directory.

Use Zmodem to download the file to the client:

Sz filename

Zmodem can automatically start receiving. the downloaded files are stored in the default download directory you set.

 

If the rz, sz command is invalid, so please first install rzsz-0.12.20-853.2.i586.rpm

The installation method is as follows:

Rpm-ivh rzsz-0.12.20-853.2.i586.rpm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.