linux--using SecureCRT to upload and download files

Source: Internet
Author: User
Tags file transfer protocol

File transfer protocols under SECURECRT are available in the following ways: ASCII, Xmodem, Ymodem, Zmodem

ASCII: This is the fastest transport protocol, but only text files can be transferred.
Xmodem: This ancient transmission protocol is slow, but due to the use of CRC error detection method, the transmission accuracy rate can be as high as 99.6%.
Ymodem: This is an improved version of Xmodem, using 1024-bit segments to deliver faster than Xmodem
Zmodem:zmodem adopts the stream-flow (streaming) transmission mode, the transmission speed is fast, but also has the function of automatically changing the section size and the breakpoint continuation transmission, the fast error detection and so on. This is currently the most popular file transfer protocol.

A Before uploading a download using SECURECRT, you need to install Lrzsz to the server:
Yum-y Install Lrzsz (Note: The parameter-y "y" means: When the installation process prompts to select all "Yes")

Second, the command sz, RZ use method:

The R in RZ means received (receive), when entering RZ, the server receives the file, and uploads the file from the local to the server.
The s in SZ means send (sent), the input sz, meaning the server to send files, both from the server to send files to local, or local to download files from the server.
Note: Either send or received, the action is initiated on the server.

RZ usage:

Note: Upload, if uploaded to the Linux directory has the same name of the file, is unable to upload, you need to delete the same name on the Linux file.

1, input RZ, enter the File selection dialog box, select the need to upload files, one can specify more than one file at a time, upload the path to the server is currently executed RZ command directory.

2. Click "Open", as follows:

3. Click "Close", as shown below:
In the Zhengyihan directory before the implementation of the RZ command, there is no file, after the implementation of RZ uploaded two files, the Zhengyihan directory has a corresponding file, indicating the success of RZ implementation

SZ usage:
Download a file: SZ filename
Download multiple files: sz filename1 filename2
Download all files in the Dir directory, without the folder under dir: Sz dir/*

1, input sz filename1 filename2 Filename3, enter after, appear as follows

2, after selecting the storage path, click "OK", the page is as follows:

3, click "Open Folder", you can see the download to the local two files:

Third, set the default directory for uploading and downloading files

The default location for file upload and download storage is set in Securtcrt, located at:
English version options-session Options-x/y/zmodem.
Chinese version option-session option-x/y/zmodem.

If the text is wrong, I hope you correct me, thank you

linux--using SecureCRT to upload and download files

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.