Linux Commands learning Note (26): Uploading and downloading files with SECURECRT

Source: Internet
Author: User
Tags file transfer protocol

when you use SSH to manage Linux servers, you often need to interact with files remotely and locally. The upload and download function directly with SECURECRT is the most convenient, and SECURECRT file Transfer Protocol has ASCII, Xmodem, Zmodem. File Transfer Protocol: File transfer is the main form of data exchange. In the case of file transfer, in order for the file to be correctly identified and transmitted, we need to establish a unified transport protocol between the two computers. This protocol includes the identification of documents, the starting and ending time of transmission, the judgment and correction of errors, etc.     There are several common transport protocols: 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 accuracy of transmission can be as high as.6%. Ymodem: This is an improved version of Xmodem, using a 1024-bit segment transmission, faster than Xmodem Zmodem:zmodem using a streaming (streaming) transmission, faster transmission speed, but also has the automatic change of the size of the section and the breakpoint continued to pass, Fast error detection and other functions. This is currently the most popular file transfer protocol.        In addition to the above several, there are Imodem, Jmodem, Bimodem, Kermit, lynx and other agreements, because there is no majority of manufacturers support, here is omitted to say. SECURECRT can use Linux under the Zmodem protocol to quickly transfer files, the use of very convenient. Specific steps: I. Before uploading a download using SECURECRT, you need to install Lrzsz to the server:1, download lrzsz-from the address below0.12. -.Tar. Gzhttp://down1.chinaunix.net/distfiles/lrzsz-0.12.20.tar.gz2, see the install documentation inside for instructions and details about installation parameters3, unzip the fileTarZXVF lrzsz-0.12. -.Tar. GZ4, go to catalog CD Lrzsz-0.12. -5,./configure--prefix=/usr/local/Lrzsz6、 Make7、 Make Install8, establish a soft link #cd/usr/Bin #LN-s/usr/local/lrzsz/bin/Lrz RZ #LN-s/usr/local/lrzsz/bin/LSZ sz9, test run RZ pop-up securecrt upload window, use SecureCRT to upload and download files. Two Set the default directory for SECURECRT uploads and downloads on the line options->session Options->terminal->xmodem/Zmodem under the right column directory settings for uploading and downloading directories three. Using Zmodem to upload files from a client to a Linux server1log in to the Linux terminal with SECURECRT. 2Select the path where you want to place the uploaded file, in the directory and enter the RZ command, SECURECRT will pop up the file selection dialog, find the file you want to upload in the search scope, press the Add button.    Then OK can upload the file to Linux. or in transfer .-Zmodem upoad list pop-up File selection dialog box, select the file and press the Add button.    Then the OK window closes automatically. Then under Linux, select the directory where the files are stored and enter the RZ command. Liunx the file to the directory. Four    Use Zmodem to download files to the client: SZ filename Zmodem receive can be self-initiated. The downloaded file is stored in the default download directory you set. Rz,sz is Linux/unix command-line tools for Zmodem file transfer with Windows Windows side requires support for Zmodem telnet/SSH client, SECURECRT can log on to UNIX with SecureCRT/Linux Host (telnet or SSH) O run the command RZ, that is, to receive files, 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 O run the command sz file1 file2 is to send files to WI Ndows (the saved directory is configurable) is much more convenient than the FTP command, and the server no longer has to open the FTP service.

Linux Commands learning Note (26): Uploading and downloading files with SECURECRT

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.